Bind 'n' and 'p' in compilation-mode-map
* lisp/progmodes/compile.el (compilation-mode-map): Bind '(next|previous)-error-no-select' to 'n' and 'p'. (Bug#41844)
This commit is contained in:
parent
6593d73928
commit
886ba068c8
1 changed files with 2 additions and 0 deletions
|
@ -2064,6 +2064,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 "n" 'next-error-no-select)
|
||||
(define-key map "p" 'previous-error-no-select)
|
||||
(define-key map "\t" 'compilation-next-error)
|
||||
(define-key map [backtab] 'compilation-previous-error)
|
||||
(define-key map "g" 'recompile) ; revert
|
||||
|
|
Loading…
Add table
Reference in a new issue