aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorJuri Linkov <[email protected]>2005-08-04 01:38:42 +0000
committerJuri Linkov <[email protected]>2005-08-04 01:38:42 +0000
commit94c713b27dba2c0fcca72c78bfec1a58a2e03388 (patch)
tree80563ae4d45a828fb287be51fa1875a552a72c2b /lisp/progmodes
parent70fec115d4fcd005127b47bd88fefc374fd57597 (diff)
(grep-mode-map): Bind TAB to `compilation-next-error'
and [backtab] to `compilation-previous-error'.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/grep.el8
1 files changed, 2 insertions, 6 deletions
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el
index 615608d288..4378a7c253 100644
--- a/lisp/progmodes/grep.el
+++ b/lisp/progmodes/grep.el
@@ -187,17 +187,13 @@ See `compilation-error-screen-columns'"
(define-key map "\^?" 'scroll-down)
(define-key map "\C-c\C-f" 'next-error-follow-minor-mode)
- ;; This is intolerable -- rms
-;;; (define-key map [remap next-line] 'compilation-next-error)
-;;; (define-key map [remap previous-line] 'compilation-previous-error)
-
(define-key map "\r" 'compile-goto-error) ;; ?
(define-key map "n" 'next-error-no-select)
(define-key map "p" 'previous-error-no-select)
(define-key map "{" 'compilation-previous-file)
(define-key map "}" 'compilation-next-file)
- (define-key map [backtab] 'compilation-previous-file)
- (define-key map "\t" 'compilation-next-file)
+ (define-key map "\t" 'compilation-next-error)
+ (define-key map [backtab] 'compilation-previous-error)
;; Set up the menu-bar
(define-key map [menu-bar grep]