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

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

[elpa] externals/undo-tree f44688d 048/195: Prevent debugger being calle


From: Stefan Monnier
Subject: [elpa] externals/undo-tree f44688d 048/195: Prevent debugger being called on "No further redo information" error.
Date: Sat, 28 Nov 2020 13:41:19 -0500 (EST)

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

    Prevent debugger being called on "No further redo information" error.
---
 undo-tree.el | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/undo-tree.el b/undo-tree.el
index 16f8f0d..c0fa416 100644
--- a/undo-tree.el
+++ b/undo-tree.el
@@ -489,10 +489,12 @@
 
 
 ;;; Change Log:
-;;
 ;; Version 0.1.7
 ;; * pass null argument to `kill-buffer' call in `undo-tree-visualizer-quit',
 ;;   since the argument's not optional in earlier Emacs versions
+;; * added match for "No further redo information" to
+;;   `debug-ignored-errors' to prevent debugger being called on this
+;;   error
 ;;
 ;; Version 0.1.6
 ;; * added `undo-tree-mode-lighter' customization option to allow the
@@ -613,6 +615,10 @@ in visualizer."
 (make-variable-buffer-local 'undo-tree-visualizer-timestamps)
 
 
+;; prevent debugger being caled on "No further redo information"
+(add-to-list 'debug-ignored-errors "^No further redo information")
+
+
 
 
 ;;; =================================================================



reply via email to

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