Mercurial > emacs
changeset 8218:bef94cf432af
(compilation-next-error-locus): Don't call
compilation-forget-errors if compilation is still runing.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 12 Jul 1994 04:09:07 +0000 |
parents | a09642334f69 |
children | 5d9da948dc9f |
files | lisp/progmodes/compile.el |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/progmodes/compile.el Tue Jul 12 03:10:30 1994 +0000 +++ b/lisp/progmodes/compile.el Tue Jul 12 04:09:07 1994 +0000 @@ -863,7 +863,13 @@ (error (if (> move 0) "Moved past last error") "Moved back past first error")) - (compilation-forget-errors) + ;; Forget existing error messages if compilation has finished. + (if (not (and (get-buffer-process (current-buffer)) + (eq (process-status + (get-buffer-process + (current-buffer))) + 'run))) + (compilation-forget-errors)) (error (concat compilation-error-message (and (get-buffer-process (current-buffer)) (eq (process-status