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

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

[elpa] externals/objed c9d4f12 013/166: Don't always update current obje


From: Clemens Radermacher
Subject: [elpa] externals/objed c9d4f12 013/166: Don't always update current object with marker positions
Date: Sun, 29 Dec 2019 08:20:52 -0500 (EST)

branch: externals/objed
commit c9d4f12177db33bc9d4c028a992ac999a783ef71
Author: Clemens Radermacher <address@hidden>
Commit: Clemens Radermacher <address@hidden>

    Don't always update current object with marker positions
---
 objed.el | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/objed.el b/objed.el
index cbaddc6..38aa7eb 100644
--- a/objed.el
+++ b/objed.el
@@ -3587,13 +3587,8 @@ ON got applied."
     (when range
       (let* ((text (apply #'buffer-substring range))
              (range (list (set-marker (make-marker) (car range))
-                          (set-marker (make-marker) (cadr range))))
-             (object (list range
-                           (list (set-marker (make-marker) (objed--alt-beg))
-                                 (set-marker (make-marker) 
(objed--alt-end))))))
+                          (set-marker (make-marker) (cadr range)))))
         (prog1 1
-          ;; update object with marker positions
-          (objed--update-current-object object)
           (apply action range)
           (objed-exit-op exit text range))))))
 



reply via email to

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