From 627142219683441a907f9a96239fdb188202e129 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 25 Dec 2023 15:07:21 +0200 Subject: [PATCH] ; * lisp/dired.el (dired--make-directory-clickable): Reformat comment. --- lisp/dired.el | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/lisp/dired.el b/lisp/dired.el index 998de06ee63..de96a3d9dd7 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -1944,15 +1944,19 @@ mouse-2: visit this file in other window" (cond ((assoc current-dir dired-subdir-alist) (dired-goto-subdir current-dir)) - ;; If there is a wildcard character in the directory, don't - ;; use the alternate file machinery which tries to keep only - ;; one dired buffer open at once. + ;; If there is a wildcard chars + ;; in the directory name, don't + ;; use the alternate file machinery + ;; which tries to keep only one + ;; dired buffer open at once. ;; ;; FIXME: Is this code path reachable? - ((insert-directory-wildcard-in-dir-p current-dir) + ((insert-directory-wildcard-in-dir-p + current-dir) (dired current-dir)) (t - (dired--find-possibly-alternative-file current-dir)))))) + (dired--find-possibly-alternative-file + current-dir)))))) (define-keymap "" click "" 'mouse-face -- 2.39.2