mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 05:30:43 -08:00
(compilation-forget-errors): Don't adjust compilation-parsing-end if it's nil.
This commit is contained in:
parent
86914dcca2
commit
347c91407b
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue