aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/compile.el2
-rw-r--r--lisp/progmodes/grep.el5
2 files changed, 4 insertions, 3 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 6d76fe3384a..de050411411 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -754,7 +754,7 @@ Returns the compilation buffer created."
754 compilation-directory-stack (list default-directory)) 754 compilation-directory-stack (list default-directory))
755 (set-window-start outwin (point-min)) 755 (set-window-start outwin (point-min))
756 (or (eq outwin (selected-window)) 756 (or (eq outwin (selected-window))
757 (set-window-point outwin (point-min))) 757 (set-window-point outwin (point)))
758 ;; The setup function is called before compilation-set-window-height 758 ;; The setup function is called before compilation-set-window-height
759 ;; so it can set the compilation-window-height buffer locally. 759 ;; so it can set the compilation-window-height buffer locally.
760 (if compilation-process-setup-function 760 (if compilation-process-setup-function
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el
index 35a5780aa45..cb8fcf6e042 100644
--- a/lisp/progmodes/grep.el
+++ b/lisp/progmodes/grep.el
@@ -157,8 +157,9 @@ The following place holders should be present in the string:
157 (define-key map " " 'scroll-up) 157 (define-key map " " 'scroll-up)
158 (define-key map "\^?" 'scroll-down) 158 (define-key map "\^?" 'scroll-down)
159 159
160 (define-key map [remap next-line] 'compilation-next-error) 160 ;; This is intolerable -- rms
161 (define-key map [remap previous-line] 'compilation-previous-error) 161;;; (define-key map [remap next-line] 'compilation-next-error)
162;;; (define-key map [remap previous-line] 'compilation-previous-error)
162 163
163 (define-key map "\r" 'compile-goto-error) ;; ? 164 (define-key map "\r" 'compile-goto-error) ;; ?
164 (define-key map "n" 'next-error-no-select) 165 (define-key map "n" 'next-error-no-select)