branch: externals/objed
commit 40f57990c71fce48daf069dc03beea73b4509836
Author: Clemens Radermacher <clem...@posteo.net>
Commit: Clemens Radermacher <clem...@posteo.net>

    Don't reinit when op exited objed
---
 objed.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/objed.el b/objed.el
index 4e7e4e6..95cb723 100644
--- a/objed.el
+++ b/objed.el
@@ -3497,6 +3497,9 @@ and RANGE hold the object position data."
            (objed--switch-to exitf))
           ((or (eq exit 'ignore)
                (bound-and-true-p multiple-cursors-mode)))
+          ((not objed--buffer)
+           ;; let op exit itself if it wants to
+           (ignore))
           (t
            (if (and text (objed--line-p text))
                (objed--init 'line)

Reply via email to