summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoey Hewll <zoeyhewll@gmail.com>2025-12-19 05:01:11 +0000
committerYuan Fu <casouri@gmail.com>2025-12-18 21:04:11 -0800
commite0af8c5845abf884a644215a9cac37f39c13cd5a (patch)
tree5642629c318ed98095995ce7a9978208e43ff5b2
parente76b773b5d8ca775bba94feba866ee3a49ffbe82 (diff)
Make vundo-popup-mode globalexternals/vundo
* vundo-popup.el (vundo-popup-mode): Add :global keyword since the mode affects all buffers. Commit message rewritten by AI; code unaltered.
-rw-r--r--vundo-popup.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/vundo-popup.el b/vundo-popup.el
index a9b9cbe..65e0aa0 100644
--- a/vundo-popup.el
+++ b/vundo-popup.el
@@ -142,6 +142,7 @@ nil means to use the default. Only affects popups created by
(define-minor-mode vundo-popup-mode
"Display a vundo popup when using any ordinary undo command."
:group 'vundo
+ :global t
(dolist (cmd vundo-popup-commands)
(if vundo-popup-mode
(advice-add cmd :after ;call CMD first: this way undoing in region works out of the box