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

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

[nongnu] elpa/goto-chg 19c9270 08/27: Fix byte-compiler warnings again


From: Philip Kaludercic
Subject: [nongnu] elpa/goto-chg 19c9270 08/27: Fix byte-compiler warnings again
Date: Sun, 1 Aug 2021 18:32:58 -0400 (EDT)

branch: elpa/goto-chg
commit 19c927055b4a521e4e5fc57ee726a8bb044c4bdc
Author: Vasilij Schneidermann <mail@vasilij.de>
Commit: Vasilij Schneidermann <mail@vasilij.de>

    Fix byte-compiler warnings again
---
 goto-chg.el | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/goto-chg.el b/goto-chg.el
index 94b81ba..fc7e531 100644
--- a/goto-chg.el
+++ b/goto-chg.el
@@ -25,6 +25,7 @@
 ;; Created: 16 May 2002
 ;; Version: 1.7.1
 ;; Keywords: convenience, matching
+;; URL: https://github.com/emacs-evil/goto-chg
 ;;
 ;;; Commentary:
 ;;
@@ -92,8 +93,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.")
@@ -210,6 +209,11 @@ 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)))
 
+(defvar buffer-undo-tree)
+(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")
+
 ;;;###autoload
 (defun goto-last-change (arg)
 "Go to the point where the last edit was made in the current buffer.



reply via email to

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