emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/progmodes/grep.el,v


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/lisp/progmodes/grep.el,v
Date: Sat, 11 Oct 2008 19:58:49 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      08/10/11 19:58:49

Index: grep.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/progmodes/grep.el,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -b -r1.95 -r1.96
--- grep.el     11 Jul 2008 02:44:10 -0000      1.95
+++ grep.el     11 Oct 2008 19:58:49 -0000      1.96
@@ -228,7 +228,6 @@
 `compilation-minor-mode-map' is a cdr of this.")
 
 (defvar grep-mode-tool-bar-map
-  (if (display-graphic-p)
       (let ((map (butlast (copy-keymap tool-bar-map)))
            (help (last tool-bar-map))) ;; Keep Help last in tool bar
        (tool-bar-local-item
@@ -247,7 +246,7 @@
        (tool-bar-local-item
         "refresh" 'recompile 'recompile map
         :help "Restart grep")
-       (append map help))))
+    (append map help)))
 
 (defalias 'kill-grep 'kill-compilation)
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]