[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/goto-chg c664d87 13/27: Ensure undo-tree-node is actually
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa/goto-chg c664d87 13/27: Ensure undo-tree-node is actually a -node |
Date: |
Sun, 1 Aug 2021 18:32:59 -0400 (EDT) |
branch: elpa/goto-chg
commit c664d8787939dfdf060d0b4cfe1240aeee62ffc8
Author: Vasilij Schneidermann <mail@vasilij.de>
Commit: Vasilij Schneidermann <mail@vasilij.de>
Ensure undo-tree-node is actually a -node
---
goto-chg.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/goto-chg.el b/goto-chg.el
index 9693b82..8b1487a 100644
--- a/goto-chg.el
+++ b/goto-chg.el
@@ -214,6 +214,7 @@ that is, it was previously saved or unchanged. Nil
otherwise."
(defvar buffer-undo-tree)
(declare-function undo-list-transfer-to-tree "undo-tree.el")
(declare-function undo-tree-current "undo-tree.el")
+(declare-function undo-tree-node-p"undo-tree.el")
(declare-function undo-tree-node-undo "undo-tree.el")
(declare-function undo-tree-node-previous "undo-tree.el")
@@ -312,7 +313,7 @@ discarded. See variable `undo-limit'."
(when (not glc-seen-canary)
(setq l (cdr l)))))
(when glc-seen-canary
- (while (< n new-probe-depth)
+ (while (and (< n new-probe-depth) (undo-tree-node-p l))
(cond ((null l)
;(setq this-command t) ; Disrupt repeat sequence
(error "No further change info"))
- [nongnu] elpa/goto-chg ea9adb4 11/27: Check correctly for no changes, (continued)
- [nongnu] elpa/goto-chg ea9adb4 11/27: Check correctly for no changes, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/goto-chg 345be45 17/27: Merge pull request #2 from WillQu/patch-1, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/goto-chg dc946f5 01/27: Check in latest wiki version, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/goto-chg bfc4200 10/27: Correct FSF address, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/goto-chg 37aafae 14/27: add a space, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/goto-chg 16a63aa 16/27: Bump version, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/goto-chg 5c057c8 22/27: Turn undo-tree into a soft dependency, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/goto-chg 494cfa1 02/27: Clean up whitespace, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/goto-chg 81fca94 05/27: Add maintainer line, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/goto-chg aa88ef0 06/27: Fix byte-compiler warnings, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/goto-chg c664d87 13/27: Ensure undo-tree-node is actually a -node,
Philip Kaludercic <=
- [nongnu] elpa/goto-chg 1829a13 19/27: Replace undo-tree hacks by making it a dependency, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/goto-chg 85fca9f 21/27: Terrible hack to deal with `combine-change-calls`, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/goto-chg 304e46a 26/27: Pacify package-lint, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/goto-chg 3ce1389 27/27: Declare minimum dependency on Emacs 24.1, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/goto-chg 19c9270 08/27: Fix byte-compiler warnings again, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/goto-chg 6cb2449 07/27: Bump version, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/goto-chg e5b38e4 09/27: Bump version, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/goto-chg e6e4298 15/27: Merge pull request #4 from Zenoe/master, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/goto-chg 6898df7 18/27: Fix contact address, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/goto-chg 5a20000 20/27: Fix maintainer email, Philip Kaludercic, 2021/08/01