diff options
| author | Richard M. Stallman | 2003-07-07 20:53:19 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2003-07-07 20:53:19 +0000 |
| commit | c72095b34528879ce56d5b484ecda9e0f72885ac (patch) | |
| tree | 51f490eafed5bf47b4eae3a636269483c8dd838f | |
| parent | 96c0d9e9531ab90568efca4e2599fa18d8a5666e (diff) | |
| download | emacs-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.el | 14 |
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.) |
| 56 | If this is a number N, all compiler error messages in the first N lines | 56 | If 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. | |||
| 644 | Interactively, prompts for the command if `compilation-read-command' is | 644 | Interactively, prompts for the command if `compilation-read-command' is |
| 645 | non-nil; otherwise uses `compile-command'. With prefix arg, always prompts. | 645 | non-nil; otherwise uses `compile-command'. With prefix arg, always prompts. |
| 646 | 646 | ||
| 647 | To run more than one compilation at once, start one and rename the | 647 | To run more than one compilation at once, start one and rename |
| 648 | \`*compilation*' buffer to some other name with \\[rename-buffer]. | 648 | the \`*compilation*' buffer to some other name with |
| 649 | Then start the next one. | 649 | \\[rename-buffer]. Then start the next one. On most systems, |
| 650 | termination of the main compilation process kills its | ||
| 651 | subprocesses. | ||
| 650 | 652 | ||
| 651 | The name used for the buffer is actually whatever is returned by | 653 | The name used for the buffer is actually whatever is returned by |
| 652 | the function in `compilation-buffer-name-function', so you can set that | 654 | the 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, |