aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2003-07-07 20:53:19 +0000
committerRichard M. Stallman2003-07-07 20:53:19 +0000
commitc72095b34528879ce56d5b484ecda9e0f72885ac (patch)
tree51f490eafed5bf47b4eae3a636269483c8dd838f
parent96c0d9e9531ab90568efca4e2599fa18d8a5666e (diff)
downloademacs-c72095b34528879ce56d5b484ecda9e0f72885ac.tar.gz
emacs-c72095b34528879ce56d5b484ecda9e0f72885ac.zip
(compile-auto-highlight): Default now t.
(compile): Doc fix. (compilation-next-error): Fix previous change.
-rw-r--r--lisp/progmodes/compile.el14
1 files changed, 8 insertions, 6 deletions
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index eebeedd1710..366f1dedc18 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -50,7 +50,7 @@
50 integer) 50 integer)
51 :group 'compilation) 51 :group 'compilation)
52 52
53(defcustom compile-auto-highlight nil 53(defcustom compile-auto-highlight t
54 "*Specify how many compiler errors to highlight (and parse) initially. 54 "*Specify how many compiler errors to highlight (and parse) initially.
55\(Highlighting applies to an error message when the mouse is over it.) 55\(Highlighting applies to an error message when the mouse is over it.)
56If this is a number N, all compiler error messages in the first N lines 56If this is a number N, all compiler error messages in the first N lines
@@ -644,9 +644,11 @@ and move to the source code that caused it.
644Interactively, prompts for the command if `compilation-read-command' is 644Interactively, prompts for the command if `compilation-read-command' is
645non-nil; otherwise uses `compile-command'. With prefix arg, always prompts. 645non-nil; otherwise uses `compile-command'. With prefix arg, always prompts.
646 646
647To run more than one compilation at once, start one and rename the 647To run more than one compilation at once, start one and rename
648\`*compilation*' buffer to some other name with \\[rename-buffer]. 648the \`*compilation*' buffer to some other name with
649Then start the next one. 649\\[rename-buffer]. Then start the next one. On most systems,
650termination of the main compilation process kills its
651subprocesses.
650 652
651The name used for the buffer is actually whatever is returned by 653The name used for the buffer is actually whatever is returned by
652the function in `compilation-buffer-name-function', so you can set that 654the function in `compilation-buffer-name-function', so you can set that
@@ -1408,9 +1410,9 @@ Does NOT find the source line like \\[next-error]."
1408 (error "Moved back past first error") 1410 (error "Moved back past first error")
1409 (nth (+ i n) compilation-old-error-list))) 1411 (nth (+ i n) compilation-old-error-list)))
1410 (save-excursion 1412 (save-excursion
1411 (while (> n 0) 1413 (while (and (> n 0) errors)
1412 ;; Discard the current error and any previous. 1414 ;; Discard the current error and any previous.
1413 (while (>= (point) (car (car errors))) 1415 (while (and errors (>= (point) (car (car errors))))
1414 (setq errors (cdr errors))) 1416 (setq errors (cdr errors)))
1415 ;; Now (car errors) is the next error. 1417 ;; Now (car errors) is the next error.
1416 ;; If we want to move down more errors, 1418 ;; If we want to move down more errors,