From 6bb90094fb48c45c2b179c0dafb44e5f081962e4 Mon Sep 17 00:00:00 2001 From: Sam Steingold Date: Mon, 20 Jul 2009 16:40:24 +0000 Subject: [PATCH] (compile-auto-highlight): Remove the variable (removed from compile.el on 2004-03-11). --- lisp/ChangeLog | 5 +++++ lisp/progmodes/ada-mode.el | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2e7ad522a56..49739a57ebd 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2009-07-20 Sam Steingold + + * progmodes/ada-mode.el (compile-auto-highlight): Remove the + variable (removed from compile.el on 2004-03-11). + 2009-07-20 Chong Yidong * files.el (hack-local-variables-filter): Fix last change. diff --git a/lisp/progmodes/ada-mode.el b/lisp/progmodes/ada-mode.el index 5750fd9da2b..c28926dbb3d 100644 --- a/lisp/progmodes/ada-mode.el +++ b/lisp/progmodes/ada-mode.el @@ -128,7 +128,6 @@ (require 'which-func nil t) (require 'compile nil t) -(defvar compile-auto-highlight) (defvar ispell-check-comments) (defvar skeleton-further-elements) @@ -1160,7 +1159,6 @@ the file name." ;; We just substitute our own functions to go to the error. (add-hook 'compilation-mode-hook (lambda() - (set (make-local-variable 'compile-auto-highlight) 40) ;; FIXME: This has global impact! -stef (define-key compilation-minor-mode-map [mouse-2] 'ada-compile-mouse-goto-error) -- 2.39.2