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

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

[elpa] externals/undo-tree 43663f6 159/195: Fix bug in menu entries that


From: Stefan Monnier
Subject: [elpa] externals/undo-tree 43663f6 159/195: Fix bug in menu entries that triggered error on null buffer-undo-tree.
Date: Sat, 28 Nov 2020 13:41:43 -0500 (EST)

branch: externals/undo-tree
commit 43663f6c22bb4e4bd42e6b5c57978bd303374b1c
Author: Toby S. Cubitt <toby-undo-tree@dr-qubit.org>
Commit: Toby S. Cubitt <toby-undo-tree@dr-qubit.org>

    Fix bug in menu entries that triggered error on null buffer-undo-tree.
---
 undo-tree.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/undo-tree.el b/undo-tree.el
index 0820389..4abe3ad 100644
--- a/undo-tree.el
+++ b/undo-tree.el
@@ -1239,6 +1239,7 @@ in visualizer."
                             :enable (and undo-tree-mode
                                          (not buffer-read-only)
                                          (not (eq t buffer-undo-list))
+                                         (not (eq nil buffer-undo-tree))
                                          (undo-tree-node-previous
                                           (undo-tree-current 
buffer-undo-tree)))
                             :help "Undo last operation"))
@@ -1247,6 +1248,7 @@ in visualizer."
                             :enable (and undo-tree-mode
                                          (not buffer-read-only)
                                          (not (eq t buffer-undo-list))
+                                         (not (eq nil buffer-undo-tree))
                                          (undo-tree-node-next
                                           (undo-tree-current 
buffer-undo-tree)))
                             :help "Redo last operation")



reply via email to

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