branch: externals/objed commit d1cdce063ba70736756139e468cc095ee33f5da7 Author: Clemens Radermacher <clem...@posteo.net> Commit: Clemens Radermacher <clem...@posteo.net>
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)))))