]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/find-dired.el (find-dired): Make directory clickable.
authorVisuwesh <visuweshm@gmail.com>
Sun, 12 Jun 2022 10:35:08 +0000 (12:35 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 13 Jun 2022 10:29:17 +0000 (12:29 +0200)
* lisp/find-dired.el (find-dired): Make the directory line
clickable (bug#55906).

lisp/find-dired.el

index c04545e44e9f0906676ec5d89474025e279130a6..8c1e684b7eaddfd603b60d2fb595a48d92753754 100644 (file)
@@ -241,6 +241,8 @@ it finishes, type \\[kill-find]."
     ;; Subdir headlerline must come first because the first marker in
     ;; subdir-alist points there.
     (insert "  " dir ":\n")
+    (when dired-make-directory-clickable
+      (dired--make-directory-clickable))
     ;; Make second line a ``find'' line in analogy to the ``total'' or
     ;; ``wildcard'' line.
     (let ((point (point)))