mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-05 11:45:45 +00:00
(compilation-forget-errors): Don't adjust compilation-parsing-end if it's nil.
This commit is contained in:
parent
86914dcca2
commit
347c91407b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user