From 44f1b1edcf74de3be7251780f058b29ccd038150 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 29 Oct 2022 19:52:48 +0300 Subject: [PATCH] ; * lisp/dired.el (dired--make-directory-clickable): Fix typo. --- lisp/dired.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5