diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/vc/vc.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el index a181765eac3..4ba62c0b3c7 100644 --- a/lisp/vc/vc.el +++ b/lisp/vc/vc.el | |||
| @@ -2342,8 +2342,8 @@ Unlike `vc-find-revision-save', doesn't save the buffer to the file." | |||
| 2342 | (ignore-errors (delay-mode-hooks (set-auto-mode)))) | 2342 | (ignore-errors (delay-mode-hooks (set-auto-mode)))) |
| 2343 | (normal-mode)) | 2343 | (normal-mode)) |
| 2344 | (set-buffer-modified-p nil) | 2344 | (set-buffer-modified-p nil) |
| 2345 | (setq buffer-read-only t)) | 2345 | (setq buffer-read-only t) |
| 2346 | (setq failed nil) | 2346 | (setq failed nil)) |
| 2347 | (when (and failed (unless buffer (get-file-buffer filename))) | 2347 | (when (and failed (unless buffer (get-file-buffer filename))) |
| 2348 | (with-current-buffer (get-file-buffer filename) | 2348 | (with-current-buffer (get-file-buffer filename) |
| 2349 | (set-buffer-modified-p nil)) | 2349 | (set-buffer-modified-p nil)) |