summaryrefslogtreecommitdiff
path: root/lisp/dired.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2022-10-29 19:52:48 +0300
committerEli Zaretskii <eliz@gnu.org>2022-10-29 19:52:48 +0300
commit44f1b1edcf74de3be7251780f058b29ccd038150 (patch)
tree75004f2ad41df96fc8320821b302c0a090fced86 /lisp/dired.el
parentdf7ca69920e0a21ec425118090a4116fa0f7c0a6 (diff)
downloademacs-44f1b1edcf74de3be7251780f058b29ccd038150.tar.gz
; * lisp/dired.el (dired--make-directory-clickable): Fix typo.
Diffstat (limited to 'lisp/dired.el')
-rw-r--r--lisp/dired.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/dired.el b/lisp/dired.el
index 7a8f1ae7a16..209e270942b 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -1919,7 +1919,7 @@ mouse-2: visit this file in other window"
(let ((bound (line-end-position))
(segment-start (point))
(inhibit-read-only t)
- (dir (substring (match-string 1) 2)))
+ (dir (substring (match-string 0) 2)))
(while (search-forward "/" bound t 1)
(setq dir (concat dir (buffer-substring segment-start (point))))
(add-text-properties