[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/goto-chg ab85086 12/27: Transfer undo-list to -tree before
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa/goto-chg ab85086 12/27: Transfer undo-list to -tree before using undo-tree |
Date: |
Sun, 1 Aug 2021 18:32:59 -0400 (EDT) |
branch: elpa/goto-chg
commit ab8508681e09e5e2eedb028c7a5ce4758d222636
Author: Vasilij Schneidermann <mail@vasilij.de>
Commit: Vasilij Schneidermann <mail@vasilij.de>
Transfer undo-list to -tree before using undo-tree
---
goto-chg.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/goto-chg.el b/goto-chg.el
index af726e7..9693b82 100644
--- a/goto-chg.el
+++ b/goto-chg.el
@@ -212,6 +212,7 @@ that is, it was previously saved or unchanged. Nil
otherwise."
(and (listp e) (eq (car e) t)))
(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-undo "undo-tree.el")
(declare-function undo-tree-node-previous "undo-tree.el")
@@ -296,6 +297,7 @@ discarded. See variable `undo-limit'."
((or passed-save-entry (glc-is-filetime (car l)))
(setq passed-save-entry t)))
(setq l (cdr l)))
+ (undo-list-transfer-to-tree)
(when (not glc-seen-canary)
(while (and (not (null l)) (not glc-seen-canary) (< n
new-probe-depth))
(cond ((eq 'undo-tree-canary (car l)) ; used by buffer-undo-tree
- [nongnu] branch elpa/goto-chg created (now 3ce1389), Philip Kaludercic, 2021/08/01
- [nongnu] elpa/goto-chg 4c32adf 03/27: Handle undo-tree-mode, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/goto-chg ab85086 12/27: Transfer undo-list to -tree before using undo-tree,
Philip Kaludercic <=
- [nongnu] elpa/goto-chg 171b133 04/27: Bump version, Philip Kaludercic, 2021/08/01
- [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