[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 26e947ccb1: * lisp/vc/vc.el (vc-find-revision-no-save): Fix par
From: |
Juri Linkov |
Subject: |
emacs-29 26e947ccb1: * lisp/vc/vc.el (vc-find-revision-no-save): Fix parens (bug#61256). |
Date: |
Sun, 5 Feb 2023 13:24:30 -0500 (EST) |
branch: emacs-29
commit 26e947ccb1453defcfce080cdc5ea7ca2cb8917e
Author: Juri Linkov <juri@linkov.net>
Commit: Juri Linkov <juri@linkov.net>
* lisp/vc/vc.el (vc-find-revision-no-save): Fix parens (bug#61256).
Move '(setq failed nil)' from UNWINDFORMS of 'unwind-protect' to BODYFORM.
---
lisp/vc/vc.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el
index a181765eac..4ba62c0b3c 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."
(ignore-errors (delay-mode-hooks (set-auto-mode))))
(normal-mode))
(set-buffer-modified-p nil)
- (setq buffer-read-only t))
- (setq failed nil)
+ (setq buffer-read-only t)
+ (setq failed nil))
(when (and failed (unless buffer (get-file-buffer filename)))
(with-current-buffer (get-file-buffer filename)
(set-buffer-modified-p nil))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 26e947ccb1: * lisp/vc/vc.el (vc-find-revision-no-save): Fix parens (bug#61256).,
Juri Linkov <=