aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Djärv2004-04-20 21:41:50 +0000
committerJan Djärv2004-04-20 21:41:50 +0000
commit7f0d4d298d367d12200c96edf4631334145d6f09 (patch)
tree0f50810f2c7d4d87e0b2ab9c9e0fc16228e8950f
parent3faf4eb37f5f984f4d1e188f6d8873242e6d2523 (diff)
downloademacs-7f0d4d298d367d12200c96edf4631334145d6f09.tar.gz
emacs-7f0d4d298d367d12200c96edf4631334145d6f09.zip
Undo previous change
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/progmodes/grep.el15
2 files changed, 7 insertions, 12 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 738b17d50a0..8ba6c959b01 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,7 +1,3 @@
12004-04-20 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
2
3 * progmodes/grep.el (grep-mode): Add eval-when-compile.
4
52004-04-20 Richard M. Stallman <rms@gnu.org> 12004-04-20 Richard M. Stallman <rms@gnu.org>
6 2
7 * window.el (split-window-save-restore-data): 3 * window.el (split-window-save-restore-data):
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el
index 77802b8e61e..94937ba1e87 100644
--- a/lisp/progmodes/grep.el
+++ b/lisp/progmodes/grep.el
@@ -429,14 +429,13 @@ temporarily highlight in visited source lines."
429 'grep-mode nil highlight-regexp))) 429 'grep-mode nil highlight-regexp)))
430 430
431;;;###autoload (autoload 'grep-mode "grep" nil t) 431;;;###autoload (autoload 'grep-mode "grep" nil t)
432(eval-when-compile 432(define-compilation-mode grep-mode "Grep"
433 (define-compilation-mode grep-mode "Grep" 433 "Sets `grep-last-buffer' and `compilation-window-height'."
434 "Sets `grep-last-buffer' and `compilation-window-height'." 434 (setq grep-last-buffer (current-buffer))
435 (setq grep-last-buffer (current-buffer)) 435 (set (make-local-variable 'compilation-error-face)
436 (set (make-local-variable 'compilation-error-face) 436 grep-hit-face)
437 grep-hit-face) 437 (set (make-local-variable 'compilation-error-regexp-alist)
438 (set (make-local-variable 'compilation-error-regexp-alist) 438 grep-regexp-alist))
439 grep-regexp-alist)))
440 439
441;; This is a copy of find-tag-default from etags.el. 440;; This is a copy of find-tag-default from etags.el.
442(defun grep-tag-default () 441(defun grep-tag-default ()