From: Visuwesh <visuweshm@gmail.com>
To: 55906@debbugs.gnu.org
Subject: bug#55906: [PATCH] Make directory line in find-dired clickable
Date: Sat, 11 Jun 2022 19:01:47 +0530 [thread overview]
Message-ID: <87y1y3s4vw.fsf@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 633 bytes --]
Tags: patch
Tags: patch
Attached patch makes find-dired respect the
`dired-make-directory-clickable' user option.
In GNU Emacs 29.0.50 (build 13, x86_64-pc-linux-gnu, X toolkit, Xaw scroll bars)
of 2022-06-10 built on astatine
Repository revision: 53139e53b75aa37cc808c1c8b3e3be367ae09fb3
Repository branch: add-mksh-imenu
Windowing system distributor 'The X.Org Foundation', version 11.0.12101003
System Description: Debian GNU/Linux 11 (bullseye)
Configured using:
'configure --with-modules --without-cairo --with-sound=alsa
--with-x-toolkit=lucid --with-json --without-xaw3d --without-gconf
--without-systemd --with-x'
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-lisp-find-dired.el-find-dired-Make-directory-clickab.patch --]
[-- Type: text/patch, Size: 818 bytes --]
From c8d951830f60a1c9f137e85da9a1ed5072dfc13e Mon Sep 17 00:00:00 2001
From: Visuwesh <visuweshm@gmail.com>
Date: Sat, 11 Jun 2022 19:00:27 +0530
Subject: [PATCH] * lisp/find-dired.el (find-dired): Make directory clickable.
---
lisp/find-dired.el | 2 ++
1 file changed, 2 insertions(+)
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))
;; Make second line a ``find'' line in analogy to the ``total'' or
;; ``wildcard'' line.
(let ((point (point)))
--
2.35.1
next reply other threads:[~2022-06-11 13:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-11 13:31 Visuwesh [this message]
2022-06-11 13:40 ` bug#55906: [PATCH] Make directory line in find-dired clickable Eli Zaretskii
2022-06-11 13:57 ` Visuwesh
2022-06-12 10:35 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y1y3s4vw.fsf@gmail.com \
--to=visuweshm@gmail.com \
--cc=55906@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.