# HG changeset patch # User Juri Linkov # Date 1123119409 0 # Node ID c1b77e79c51a8bcd56476d653e57a5b96e048ce8 # Parent 5f8a240b762152237ae66e906a8b552ceafb4695 (grep-mode-map): Bind TAB to `compilation-next-error' and [backtab] to `compilation-previous-error'. diff -r 5f8a240b7621 -r c1b77e79c51a lisp/progmodes/grep.el --- 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]