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

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

[elpa] externals/objed d1cdce0 2/9: Reinit after objed-occur


From: Clemens Radermacher
Subject: [elpa] externals/objed d1cdce0 2/9: Reinit after objed-occur
Date: Tue, 29 Jan 2019 17:40:05 -0500 (EST)

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

    Reinit after objed-occur
---
 objed.el | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/objed.el b/objed.el
index 68ff73e..1f310f3 100644
--- a/objed.el
+++ b/objed.el
@@ -34,10 +34,10 @@
 ;;
 ;; Text objects are textual patterns like a line, a top level definition, a
 ;; word, a sentence or any other unit of text. When `objed-mode' is enabled,
-;; certain editing commands (configurable) will activate `objed' and enable its
-;; modal editing features. When active, keys which would usually insert a
-;; character are mapped to objed commands. Other keys and commands will 
continue
-;; to work as they normally would and exit this editing state again.
+;; certain editing commands (configurable) will activate `objed' and enable
+;; its modal editing features. When active, keys which would usually insert a
+;; character are mapped to objed commands. Other keys and commands will
+;; continue to work as they normally would and exit this editing state again.
 ;;
 ;; By default important self inserting keys like Space or Return are not bound
 ;; to modal commands and will exit `objed' on insertion. This makes it
@@ -1854,7 +1854,7 @@ textual content of an object via the content object."
                            lines)))))
     (when res
       (goto-char res)
-      (objed--update-current-object)
+      (objed--init objed--object)
       (goto-char (objed--beg)))))
 
 



reply via email to

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