+2002-12-15 Gustav H\e,Ae\e(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
(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
(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)