* lisp/vc/ediff-util.el: Loop the ediff-session-registry instead of buffers
This avoids aborting the loop if an error happens in some buffer. (Bug#74881)
This commit is contained in:
parent
742b792175
commit
5fe7f86367
1 changed files with 4 additions and 5 deletions
|
@ -219,12 +219,11 @@ to invocation.")
|
|||
;; where this hook could prevent kill-emacs from shutting down Emacs,
|
||||
;; because user interaction is not possible (e.g., in a daemon), or
|
||||
;; if deleting these files signals an error.
|
||||
(ignore-errors
|
||||
(let ((inhibit-interaction t))
|
||||
(dolist (b (buffer-list))
|
||||
(let ((inhibit-interaction t))
|
||||
(dolist (b ediff-session-registry)
|
||||
(ignore-errors
|
||||
(with-current-buffer b
|
||||
(when (eq major-mode 'ediff-mode)
|
||||
(ediff-delete-temp-files)))))))
|
||||
(ediff-delete-temp-files))))))
|
||||
|
||||
;;; Setup functions
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue