[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/goto-chg 5c057c8 22/27: Turn undo-tree into a soft depende
From: |
Philip Kaludercic |
Subject: |
[nongnu] elpa/goto-chg 5c057c8 22/27: Turn undo-tree into a soft dependency |
Date: |
Sun, 1 Aug 2021 18:33:01 -0400 (EDT) |
branch: elpa/goto-chg
commit 5c057c8623abadf7fd57ce625843435d231f2739
Author: Vasilij Schneidermann <mail@vasilij.de>
Commit: Vasilij Schneidermann <mail@vasilij.de>
Turn undo-tree into a soft dependency
---
goto-chg.el | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/goto-chg.el b/goto-chg.el
index c912c71..31cf016 100644
--- a/goto-chg.el
+++ b/goto-chg.el
@@ -24,7 +24,6 @@
;; Maintainer: Vasilij Schneidermann <mail@vasilij.de>
;; Created: 16 May 2002
;; Version: 1.7.3
-;; Package-Requires: ((undo-tree "0.1.3"))
;; Keywords: convenience, matching
;; URL: https://github.com/emacs-evil/goto-chg
;;
@@ -98,8 +97,6 @@
;;; Code:
-(require 'undo-tree)
-
(defvar glc-default-span 8 "*goto-last-change don't visit the same point
twice. glc-default-span tells how far around a visited point not to visit
again.")
(defvar glc-current-span 8 "Internal for goto-last-change.\nA copy of
glc-default-span or the ARG passed to goto-last-change.")
(defvar glc-probe-depth 0 "Internal for goto-last-change.\nIt is non-zero
between successive goto-last-change.")
@@ -232,6 +229,13 @@ 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")
+(defvar buffer-undo-tree)
+
;;;###autoload
(defun goto-last-change (arg)
"Go to the point where the last edit was made in the current buffer.
- [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, 2021/08/01
- [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 <=
- [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, 2021/08/01
- [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