changeset 64728:c1b77e79c51a

(grep-mode-map): Bind TAB to `compilation-next-error' and [backtab] to `compilation-previous-error'.
author Juri Linkov <juri@jurta.org>
date Thu, 04 Aug 2005 01:36:49 +0000
parents 5f8a240b7621
children 28b7c336cb20
files lisp/progmodes/grep.el
diffstat 1 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/grep.el	Thu Aug 04 01:36:10 2005 +0000
+++ b/lisp/progmodes/grep.el	Thu Aug 04 01:36:49 2005 +0000
@@ -187,17 +187,13 @@
     (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]