]> 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)
committerEli Zaretskii <eliz@gnu.org>
Mon, 25 Dec 2023 13:02:34 +0000 (15:02 +0200)
commitfcbb00448998cdfffcf7455192bfebf98ef27a1e
tree38828540a5c2a8ab78884831289d6eeb21ac41e1
parentbe8a7155b48198b08bbc4844b2ce60c127405fb7
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)
lisp/dired.el