emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/objed fc11d2b 119/216: Fix skipping ws if point is afte


From: Stefan Monnier
Subject: [elpa] externals/objed fc11d2b 119/216: Fix skipping ws if point is after the object
Date: Tue, 8 Jan 2019 12:29:23 -0500 (EST)

branch: externals/objed
commit fc11d2bacf05f594808e2f835e0533c6eb550059
Author: Clemera <address@hidden>
Commit: Clemera <address@hidden>

    Fix skipping ws if point is after the object
---
 objed-objects.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/objed-objects.el b/objed-objects.el
index caef99d..7389b01 100644
--- a/objed-objects.el
+++ b/objed-objects.el
@@ -723,8 +723,8 @@ from end of object FROM."
             (goto-char obj)
           (goto-char (objed--max obj))))
       (unless (eobp)
-        ;; TODO: always skip?
-        (objed--skip-ws)
+        (when (<= (point) (objed--beg))
+          (objed--skip-ws))
         (objed--object :try-next)
         (objed--get)))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]