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

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

[elpa] externals/osm 2a3edeb745 5/6: Do not delete transient pin on igno


From: ELPA Syncer
Subject: [elpa] externals/osm 2a3edeb745 5/6: Do not delete transient pin on ignored commands
Date: Tue, 8 Mar 2022 10:57:44 -0500 (EST)

branch: externals/osm
commit 2a3edeb745e869668a1c9f5449c19f62a7c304ed
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    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

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