diff options
Diffstat (limited to 'lisp/dired-x.el')
-rw-r--r-- | lisp/dired-x.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/dired-x.el b/lisp/dired-x.el index 0d16eef1c28..56b3c7b2888 100644 --- a/lisp/dired-x.el +++ b/lisp/dired-x.el @@ -1678,7 +1678,7 @@ Not perfect - point must be in middle of or end of filename." (setq prefix (and (string-match "^\\w+@" - (buffer-substring start (line-beginning-position))) + (buffer-substring start (line-end-position))) "/")) (goto-char start) (if (string-match "[/~]" (char-to-string (preceding-char))) |