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

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

[nongnu] elpa/ws-butler 4154816145 27/64: Clean up end marker.


From: Stefan Kangas
Subject: [nongnu] elpa/ws-butler 4154816145 27/64: Clean up end marker.
Date: Fri, 31 Dec 2021 11:09:29 -0500 (EST)

branch: elpa/ws-butler
commit 4154816145b3ed2e6d1865b958dff2ef3413b2b9
Author: Le Wang <le.wang@agworld.com.au>
Commit: Le Wang <le.wang@agworld.com.au>

    Clean up end marker.
---
 ws-butler.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ws-butler.el b/ws-butler.el
index 33ec24aba1..f5eb98201e 100644
--- a/ws-butler.el
+++ b/ws-butler.el
@@ -165,7 +165,8 @@ replaced by spaces.
       (setq end (text-property-not-all start limit 'hilit-chg prop))
       (if prop
           (funcall func prop start (or end limit)))
-      (setq start end))))
+      (setq start end))
+    (set-marker limit nil)))
 
 (defun ws-butler-before-save ()
   "Trim white space before save.



reply via email to

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