Commit ecad93d2 authored by Chong Yidong's avatar Chong Yidong
Browse files

(grep-mode-tool-bar-map): Initialize it unconditionally.

parent f4c77d44
......@@ -228,7 +228,6 @@ See `compilation-error-screen-columns'"
`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
......@@ -247,7 +246,7 @@ See `compilation-error-screen-columns'"
"refresh" 'recompile 'recompile map
:help "Restart grep")
(append map help))))
(append map help)))
(defalias 'kill-grep 'kill-compilation)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment