diff options
author | Sam Steingold <sds@gnu.org> | 2008-05-08 17:28:05 +0000 |
---|---|---|
committer | Sam Steingold <sds@gnu.org> | 2008-05-08 17:28:05 +0000 |
commit | 86c7460fae7cc08cd27376f7b1152578399e3bdf (patch) | |
tree | efc81dbb4a1aea51fdeee4fb16fe9e9a6ef4eb92 /lisp/progmodes/compile.el | |
parent | 9c355de85a4a109823fe040986ff3fc662e8b8fb (diff) | |
download | emacs-86c7460fae7cc08cd27376f7b1152578399e3bdf.tar.gz |
(compilation-minor-mode-map, compilation-mode-map):
Bind "g" to recompile and "q" to quit-window.
(grep-mode-map): Use `set-keymap-parent' to connect it
to `compilation-minor-mode-map' (instead of an explicit `cons').
Diffstat (limited to 'lisp/progmodes/compile.el')
-rw-r--r-- | lisp/progmodes/compile.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 90da308d431..e8f879f2ffa 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -1357,6 +1357,8 @@ Returns the compilation buffer created." (define-key map "\M-p" 'compilation-previous-error) (define-key map "\M-{" 'compilation-previous-file) (define-key map "\M-}" 'compilation-next-file) + (define-key map "g" 'recompile) ; revert + (define-key map "q" 'quit-window) ;; Set up the menu-bar (define-key map [menu-bar compilation] (cons "Errors" compilation-menu-map)) @@ -1401,6 +1403,8 @@ Returns the compilation buffer created." (define-key map "\M-}" 'compilation-next-file) (define-key map "\t" 'compilation-next-error) (define-key map [backtab] 'compilation-previous-error) + (define-key map "g" 'recompile) ; revert + (define-key map "q" 'quit-window) (define-key map " " 'scroll-up) (define-key map "\^?" 'scroll-down) |