Commit 311ff235 authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

(compile-reinitialize-errors): Don't mark the buffer as modified unless it

really is.
parent ea13a2b4
2002-12-15 Gustav H,Ae(Bllberg <gustav@virtutech.se> (tiny change)
* progmodes/compile.el (compile-reinitialize-errors): Don't mark the
buffer as modified unless it really is.
2002-12-14 Andreas Schwab <schwab@suse.de>
* wid-edit.el (widget-move): Don't loop infinitely when there is
......
......@@ -1564,6 +1564,7 @@ Does NOT find the source line like \\[next-error]."
(let ((inhibit-read-only t)
(buffer-undo-list t)
deactivate-mark
(buffer-was-modified (buffer-modified-p))
(error-list compilation-error-list))
(while error-list
(save-excursion
......@@ -1571,7 +1572,8 @@ Does NOT find the source line like \\[next-error]."
(progn (end-of-line) (point))
'(mouse-face highlight help-echo "\
mouse-2: visit this file and line")))
(setq error-list (cdr error-list))))
(setq error-list (cdr error-list)))
(set-buffer-modified-p buffer-was-modified))
)))))
(defun compile-mouse-goto-error (event)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment