aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorJuri Linkov <[email protected]>2005-08-04 01:36:10 +0000
committerJuri Linkov <[email protected]>2005-08-04 01:36:10 +0000
commit70fec115d4fcd005127b47bd88fefc374fd57597 (patch)
treec14b7ab9b6381c1dc4918011727de32d607b577d /lisp/progmodes
parent359521295930d0b43ff429b23292e4a1562a3d9d (diff)
(compilation-mode-map): Bind TAB to `compilation-next-error'
and [backtab] to `compilation-previous-error'.
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/compile.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 58caa4dc99..fa9eac2e02 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -1158,6 +1158,8 @@ exited abnormally with code %d\n"
(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 "\t" 'compilation-next-error)
+ (define-key map [backtab] 'compilation-previous-error)
(define-key map " " 'scroll-up)
(define-key map "\^?" 'scroll-down)