]> git.eshelyaron.com Git - emacs.git/commit
Use dired--inhibit-auto-revert for fixing bug#71264
authorTassilo Horn <tsdh@gnu.org>
Sun, 26 Jan 2025 08:44:59 +0000 (09:44 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sun, 26 Jan 2025 18:53:39 +0000 (19:53 +0100)
commit71928f6df502c654609d14784e0c7e09dcf81cc4
tree0e6ec28d16c11cbaaa99aaf7797720713a3231dd
parent4e71a72e335a06ee133ece6127dee4ebcf093054
Use dired--inhibit-auto-revert for fixing bug#71264

The original fix bound auto-revert-mode to nil which had the side-effect
of disabling auto-revert forever in this buffer because
auto-revert-handler removes the buffer from auto-revert-buffer-list when
it's called but auto-revert-mode is nil.

* lisp/dired.el (dired-internal-do-deletions): Bind
dired--inhibit-auto-revert during deletion (bug#71264).

(cherry picked from commit 01d93d56cd469ddb45d142da948caef9f2dc1a3f)
lisp/dired.el