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

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

[nongnu] elpa/undo-fu-session b808ef0cdc 08/53: Fix global-undo-fu-sessi


From: ELPA Syncer
Subject: [nongnu] elpa/undo-fu-session b808ef0cdc 08/53: Fix global-undo-fu-session activating with the minibuffer
Date: Thu, 7 Jul 2022 12:05:15 -0400 (EDT)

branch: elpa/undo-fu-session
commit b808ef0cdcdd2eef221c67eda567eed7fcb3d4af
Author: Campbell Barton <ideasman42@gmail.com>
Commit: Campbell Barton <ideasman42@gmail.com>

    Fix global-undo-fu-session activating with the minibuffer
---
 undo-fu-session.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/undo-fu-session.el b/undo-fu-session.el
index 0b6f6df99c..4736b90881 100644
--- a/undo-fu-session.el
+++ b/undo-fu-session.el
@@ -483,7 +483,8 @@ Argument PENDING-LIST an `pending-undo-list'. compatible 
list."
 
 (defun undo-fu-session-mode-turn-on ()
   "Enable command `undo-fu-session-mode'."
-  (undo-fu-session-mode 1))
+  (when (and (not (minibufferp)) (not undo-fu-session-mode))
+    (undo-fu-session-mode 1)))
 
 ;;;###autoload
 (define-minor-mode undo-fu-session-mode



reply via email to

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