diff options
| author | Sean Whitton | 2025-04-03 16:44:10 +0800 |
|---|---|---|
| committer | Sean Whitton | 2025-04-03 16:44:10 +0800 |
| commit | 91a75c0d460efb7490c7901ff8572adb14cd50db (patch) | |
| tree | 0a7943ed590a775f9046cf76ab2372cbc957cdec | |
| parent | 4ace02755bc5cd5add8d88be5abf2de60a92e635 (diff) | |
| download | emacs-91a75c0d460efb7490c7901ff8572adb14cd50db.tar.gz emacs-91a75c0d460efb7490c7901ff8572adb14cd50db.zip | |
; Add a check for liveness to last change
| -rw-r--r-- | lisp/vc/vc-dispatcher.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/vc/vc-dispatcher.el b/lisp/vc/vc-dispatcher.el index 5416dac5313..9e238560710 100644 --- a/lisp/vc/vc-dispatcher.el +++ b/lisp/vc/vc-dispatcher.el | |||
| @@ -205,8 +205,9 @@ Another is that undo information is not kept." | |||
| 205 | ;; See bug#53626 and bug#77306. | 205 | ;; See bug#53626 and bug#77306. |
| 206 | (setq default-directory olddir) | 206 | (setq default-directory olddir) |
| 207 | (run-with-timer 0 nil (lambda () | 207 | (run-with-timer 0 nil (lambda () |
| 208 | (with-current-buffer buf | 208 | (when (buffer-live-p buf) |
| 209 | (setq default-directory olddir)))) | 209 | (with-current-buffer buf |
| 210 | (setq default-directory olddir))))) | ||
| 210 | 211 | ||
| 211 | (let ((buffer-undo-list t) | 212 | (let ((buffer-undo-list t) |
| 212 | (inhibit-read-only t)) | 213 | (inhibit-read-only t)) |