From 347c91407b0eba8a55d6bcf88fa80c2a7d4eab46 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 25 Mar 2002 00:39:41 +0000 Subject: [PATCH] (compilation-forget-errors): Don't adjust compilation-parsing-end if it's nil. --- lisp/progmodes/compile.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 1bf72c0b62e..6987293ea0f 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -1850,7 +1850,8 @@ Pop up the buffer containing MARKER and scroll to MARKER if we ask the user." (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) -- 2.39.2