emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 62714221968 2/2: ; * lisp/dired.el (dired--make-directory-click


From: Eli Zaretskii
Subject: emacs-29 62714221968 2/2: ; * lisp/dired.el (dired--make-directory-clickable): Reformat comment.
Date: Mon, 25 Dec 2023 08:07:54 -0500 (EST)

branch: emacs-29
commit 627142219683441a907f9a96239fdb188202e129
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; * 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
                           "<mouse-2>" click
                           "<follow-link>" 'mouse-face



reply via email to

[Prev in Thread] Current Thread [Next in Thread]