diff options
| author | Jan Djärv | 2004-04-20 21:41:50 +0000 |
|---|---|---|
| committer | Jan Djärv | 2004-04-20 21:41:50 +0000 |
| commit | 7f0d4d298d367d12200c96edf4631334145d6f09 (patch) | |
| tree | 0f50810f2c7d4d87e0b2ab9c9e0fc16228e8950f | |
| parent | 3faf4eb37f5f984f4d1e188f6d8873242e6d2523 (diff) | |
| download | emacs-7f0d4d298d367d12200c96edf4631334145d6f09.tar.gz emacs-7f0d4d298d367d12200c96edf4631334145d6f09.zip | |
Undo previous change
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/progmodes/grep.el | 15 |
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 @@ | |||
| 1 | 2004-04-20 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | ||
| 2 | |||
| 3 | * progmodes/grep.el (grep-mode): Add eval-when-compile. | ||
| 4 | |||
| 5 | 2004-04-20 Richard M. Stallman <rms@gnu.org> | 1 | 2004-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 () |