[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#55906: [PATCH] Make directory line in find-dired clickable
From: |
Visuwesh |
Subject: |
bug#55906: [PATCH] Make directory line in find-dired clickable |
Date: |
Sat, 11 Jun 2022 19:27:17 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
[சனி ஜூன் 11, 2022] Eli Zaretskii wrote:
>> From: Visuwesh <visuweshm@gmail.com>
>> Date: Sat, 11 Jun 2022 19:01:47 +0530
>>
>> diff --git a/lisp/find-dired.el b/lisp/find-dired.el
>> index c04545e44e..8c1e684b7e 100644
>> --- a/lisp/find-dired.el
>> +++ b/lisp/find-dired.el
>> @@ -241,6 +241,8 @@ find-dired
>> ;; 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))
>
> Won't we need to make that function be public for this, and rename it
> to dired-make-directory-clickable?
>
> Thanks.
AFAICT, dired--make-directory-clickable is specific to dired buffers,
and since find-dired is "dired-compatible" I don't see a need to make
the function public.