From 645a6257c4fdb1cb8bf963d9681cf5eb7a13aa70 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 5 Oct 2010 21:06:25 -0700 Subject: [PATCH] * lisp/hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler. Remove arch-tag comment. --- lisp/ChangeLog | 2 ++ lisp/hilit-chg.el | 8 ++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b681fb05b85..5de5380925b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2010-10-06 Glenn Morris + * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler. + * emacs-lisp/cl.el: No longer provide cl-19. 2010-10-05 Michael Albinus diff --git a/lisp/hilit-chg.el b/lisp/hilit-chg.el index ec9c88fd6ec..22012986be5 100644 --- a/lisp/hilit-chg.el +++ b/lisp/hilit-chg.el @@ -921,7 +921,7 @@ changes are made, so \\[highlight-changes-next-change] and (defun hilit-chg-get-diff-info (buf-a file-a buf-b file-b) - (let ((e nil) x y) ;; e is set by function hilit-chg-get-diff-list-hk + (let (e x y) ; e,x,y are set by function hilit-chg-get-diff-list-hk (ediff-setup buf-a file-a buf-b file-b nil nil ; buf-c file-C 'hilit-chg-get-diff-list-hk @@ -932,10 +932,11 @@ changes are made, so \\[highlight-changes-next-change] and (defun hilit-chg-get-diff-list-hk () - ;; x and y are dynamically bound by hilit-chg-get-diff-info + ;; e, x and y are dynamically bound by hilit-chg-get-diff-info ;; which calls this function as a hook - (defvar x) ;; placate the byte-compiler + (defvar x) ; placate the byte-compiler (defvar y) + (defvar e) (setq e (current-buffer)) (let ((n 0) extent p va vb a b) (setq x nil y nil) ;; x and y are bound by hilit-chg-get-diff-info @@ -1035,5 +1036,4 @@ This is called when `global-highlight-changes-mode' is turned on." (provide 'hilit-chg) -;; arch-tag: de00301d-5bad-44da-aa82-e0e010b0c463 ;;; hilit-chg.el ends here -- 2.39.5