]> git.eshelyaron.com Git - emacs.git/commit
Fix mouse clicks on directory line in Dired
authorJared Finder <jared@finder.org>
Sat, 16 Dec 2023 20:10:03 +0000 (12:10 -0800)
committerEshel Yaron <me@eshelyaron.com>
Tue, 2 Jan 2024 07:18:04 +0000 (08:18 +0100)
commit10eb1e3df8d67f362843bbdcd6a91fafd8543591
tree521a2c198772a56814188cb18ae7d2303bed9195
parent1f886c4932929e0d0b28d4b776e9a3dadfbbaf2a
Fix mouse clicks on directory line in Dired

The option 'dired-kill-when-opening-new-dired-buffer' should be
also honored when clicking the mouse to kill prev buffer.
* lisp/dired.el (dired--make-directory-clickable): Call
'dired--find-possibly-alternative-file' instead of 'dired', in
the click callback.  (Bug#67856)

(cherry picked from commit fcbb00448998cdfffcf7455192bfebf98ef27a1e)
lisp/dired.el