branch: externals/vundo
commit e0af8c5845abf884a644215a9cac37f39c13cd5a
Author: Zoey Hewll <[email protected]>
Commit: Yuan Fu <[email protected]>
Make vundo-popup-mode global
* vundo-popup.el (vundo-popup-mode): Add :global keyword since the
mode affects all buffers.
Commit message rewritten by AI; code unaltered.
---
vundo-popup.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/vundo-popup.el b/vundo-popup.el
index a9b9cbe13c..65e0aa087e 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