diff options
| author | Juanma Barranquero | 2002-12-14 23:35:19 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2002-12-14 23:35:19 +0000 |
| commit | 311ff235fa14699b829c716e5a0c69e10077cbe3 (patch) | |
| tree | a166f95f79079247c0c7c755947e446baba5ab04 | |
| parent | ea13a2b4d4cd201b87c3271a087f1e02205ad68b (diff) | |
| download | emacs-311ff235fa14699b829c716e5a0c69e10077cbe3.tar.gz emacs-311ff235fa14699b829c716e5a0c69e10077cbe3.zip | |
(compile-reinitialize-errors): Don't mark the buffer as modified unless it
really is.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/compile.el | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 50550908b9a..36df00ff76c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2002-12-15 Gustav H,Ae(Bllberg <gustav@virtutech.se> (tiny change) | ||
| 2 | |||
| 3 | * progmodes/compile.el (compile-reinitialize-errors): Don't mark the | ||
| 4 | buffer as modified unless it really is. | ||
| 5 | |||
| 1 | 2002-12-14 Andreas Schwab <schwab@suse.de> | 6 | 2002-12-14 Andreas Schwab <schwab@suse.de> |
| 2 | 7 | ||
| 3 | * wid-edit.el (widget-move): Don't loop infinitely when there is | 8 | * wid-edit.el (widget-move): Don't loop infinitely when there is |
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 44f1178c112..f202663a0e4 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -1564,6 +1564,7 @@ Does NOT find the source line like \\[next-error]." | |||
| 1564 | (let ((inhibit-read-only t) | 1564 | (let ((inhibit-read-only t) |
| 1565 | (buffer-undo-list t) | 1565 | (buffer-undo-list t) |
| 1566 | deactivate-mark | 1566 | deactivate-mark |
| 1567 | (buffer-was-modified (buffer-modified-p)) | ||
| 1567 | (error-list compilation-error-list)) | 1568 | (error-list compilation-error-list)) |
| 1568 | (while error-list | 1569 | (while error-list |
| 1569 | (save-excursion | 1570 | (save-excursion |
| @@ -1571,7 +1572,8 @@ Does NOT find the source line like \\[next-error]." | |||
| 1571 | (progn (end-of-line) (point)) | 1572 | (progn (end-of-line) (point)) |
| 1572 | '(mouse-face highlight help-echo "\ | 1573 | '(mouse-face highlight help-echo "\ |
| 1573 | mouse-2: visit this file and line"))) | 1574 | mouse-2: visit this file and line"))) |
| 1574 | (setq error-list (cdr error-list)))) | 1575 | (setq error-list (cdr error-list))) |
| 1576 | (set-buffer-modified-p buffer-was-modified)) | ||
| 1575 | ))))) | 1577 | ))))) |
| 1576 | 1578 | ||
| 1577 | (defun compile-mouse-goto-error (event) | 1579 | (defun compile-mouse-goto-error (event) |