branch: externals/osm
commit 2a3edeb745e869668a1c9f5449c19f62a7c304ed
Author: Daniel Mendler <[email protected]>
Commit: Daniel Mendler <[email protected]>

    Do not delete transient pin on ignored commands
---
 osm.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/osm.el b/osm.el
index f2bc0713d6..617039fdc5 100644
--- a/osm.el
+++ b/osm.el
@@ -884,7 +884,8 @@ xmlns='http://www.w3.org/2000/svg' 
xmlns:xlink='http://www.w3.org/1999/xlink'>
                 (with-current-buffer buffer
                   ;; Handle bookmark deletion and renaming
                   (pcase this-command
-                    ('undefined nil)
+                    ((or 'undefined 'ignore)
+                     nil)
                     ((and (guard (eq id 'selected-bookmark))
                           cmd (or 'osm-bookmark-delete 'osm-bookmark-rename))
                      (remove-hook 'pre-command-hook sym)

Reply via email to