[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/goto-chg 9c16962 24/27: Don't byte-compile undo-tree-node-
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa/goto-chg 9c16962 24/27: Don't byte-compile undo-tree-node-p invocation |
Date: |
Sun, 1 Aug 2021 18:33:02 -0400 (EDT) |
branch: elpa/goto-chg
commit 9c1696264e728f78924af874a55ccfb19317a702
Author: Brian Leung <leungbk@mailfence.com>
Commit: Brian Leung <leungbk@mailfence.com>
Don't byte-compile undo-tree-node-p invocation
Resolve an error for people using undo-tree.
Also fix declare-function invocations: per the documentation for
declare-function, external Elisp libraries should have 'ext:' in
front.
---
goto-chg.el | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/goto-chg.el b/goto-chg.el
index 4aa6003..ad35962 100644
--- a/goto-chg.el
+++ b/goto-chg.el
@@ -231,11 +231,10 @@ Return nil if E represents no real change.
that is, it was previously saved or unchanged. Nil otherwise."
(and (listp e) (eq (car e) t)))
-(declare-function undo-tree-current "undo-tree")
-(declare-function undo-tree-node-p "undo-tree")
-(declare-function undo-tree-node-previous "undo-tree")
-(declare-function undo-tree-node-undo "undo-tree")
-(declare-function undo-list-transfer-to-tree "undo-tree")
+(declare-function undo-tree-current "ext:undo-tree")
+(declare-function undo-tree-node-previous "ext:undo-tree")
+(declare-function undo-tree-node-undo "ext:undo-tree")
+(declare-function undo-list-transfer-to-tree "ext:undo-tree")
(defvar buffer-undo-tree)
;;;###autoload
@@ -335,7 +334,7 @@ discarded. See variable `undo-limit'."
(when (not glc-seen-canary)
(setq l (cdr l)))))
(when glc-seen-canary
- (while (and (< n new-probe-depth) (undo-tree-node-p l))
+ (while (and (< n new-probe-depth) (eval '(undo-tree-node-p l)))
(cond ((null l)
;(setq this-command t) ; Disrupt repeat sequence
(error "No further change info"))
- [nongnu] elpa/goto-chg 85fca9f 21/27: Terrible hack to deal with `combine-change-calls`, (continued)
- [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
- [nongnu] elpa/goto-chg 4eee444 23/27: goto-last-change: don't check buffer-undo-tree when not using undo-tree, Philip Kaludercic, 2021/08/01
- [nongnu] elpa/goto-chg 9c16962 24/27: Don't byte-compile undo-tree-node-p invocation,
Philip Kaludercic <=
- [nongnu] elpa/goto-chg 2af6121 25/27: Merge pull request #10 from leungbk/boundp-buffer-undo-tree, Philip Kaludercic, 2021/08/01