changeset 44139:d7e7a906dbe4

(compilation-forget-errors): Don't adjust compilation-parsing-end if it's nil.
author Richard M. Stallman <rms@gnu.org>
date Mon, 25 Mar 2002 00:39:41 +0000
parents f1d7c706f7f7
children 43143e459aae
files lisp/progmodes/compile.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/compile.el	Mon Mar 25 00:38:46 2002 +0000
+++ b/lisp/progmodes/compile.el	Mon Mar 25 00:39:41 2002 +0000
@@ -1850,7 +1850,8 @@
     (setq compilation-old-error-list (cdr compilation-old-error-list)))
   (setq compilation-error-list nil
 	compilation-directory-stack (list default-directory))
-  (set-marker compilation-parsing-end 1)
+  (if compilation-parsing-end
+      (set-marker compilation-parsing-end 1))
   ;; Remove the highlighting added by compile-reinitialize-errors:
   (let ((inhibit-read-only t)
 	(buffer-undo-list t)