diff options
| author | Juri Linkov | 2023-02-05 20:23:57 +0200 |
|---|---|---|
| committer | Juri Linkov | 2023-02-05 20:23:57 +0200 |
| commit | 26e947ccb1453defcfce080cdc5ea7ca2cb8917e (patch) | |
| tree | e4f6538520dfac7fc9810e57c419d95fc74b6690 /lisp | |
| parent | 948e343496bce96fcc5f2ccb702e4be2c549096e (diff) | |
| download | emacs-26e947ccb1453defcfce080cdc5ea7ca2cb8917e.tar.gz emacs-26e947ccb1453defcfce080cdc5ea7ca2cb8917e.zip | |
* lisp/vc/vc.el (vc-find-revision-no-save): Fix parens (bug#61256).
Move '(setq failed nil)' from UNWINDFORMS of 'unwind-protect' to BODYFORM.
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)) |