Undo previous change
authorJan Djärv <jan.h.d@swipnet.se>
Tue, 20 Apr 2004 21:41:50 +0000 (21:41 +0000)
committerJan Djärv <jan.h.d@swipnet.se>
Tue, 20 Apr 2004 21:41:50 +0000 (21:41 +0000)
lisp/ChangeLog
lisp/progmodes/grep.el

index 738b17d..8ba6c95 100644 (file)
@@ -1,7 +1,3 @@
-2004-04-20  Jan Dj\e,Ad\e(Brv  <jan.h.d@swipnet.se>
-
-       * progmodes/grep.el (grep-mode): Add eval-when-compile.
-
 2004-04-20  Richard M. Stallman  <rms@gnu.org>
 
        * window.el (split-window-save-restore-data): 
index 77802b8..94937ba 100644 (file)
@@ -429,14 +429,13 @@ temporarily highlight in visited source lines."
                       'grep-mode nil highlight-regexp)))
 
 ;;;###autoload (autoload 'grep-mode "grep" nil t)
-(eval-when-compile
-  (define-compilation-mode grep-mode "Grep"
-    "Sets `grep-last-buffer' and `compilation-window-height'."
-    (setq grep-last-buffer (current-buffer))
-    (set (make-local-variable 'compilation-error-face)
-        grep-hit-face)
-    (set (make-local-variable 'compilation-error-regexp-alist)
-        grep-regexp-alist)))
+(define-compilation-mode grep-mode "Grep"
+  "Sets `grep-last-buffer' and `compilation-window-height'."
+  (setq grep-last-buffer (current-buffer))
+  (set (make-local-variable 'compilation-error-face)
+       grep-hit-face)
+  (set (make-local-variable 'compilation-error-regexp-alist)
+       grep-regexp-alist))
 
 ;; This is a copy of find-tag-default from etags.el.
 (defun grep-tag-default ()