diff options
author | Glenn Morris <rgm@gnu.org> | 2011-02-16 20:38:23 -0800 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2011-02-16 20:38:23 -0800 |
commit | 8551cb3203ce2a4a22f8ac336eb628c400a65021 (patch) | |
tree | 690686b656e8ab7beaf552a410244aca25f79818 /lisp/dired-x.el | |
parent | 584c9d3fd0784fac55fe46d98ccefa5eb461fed8 (diff) | |
download | emacs-8551cb3203ce2a4a22f8ac336eb628c400a65021.tar.gz |
* lisp/dired-x.el (dired-filename-at-point): Fix 8-year old typo.
Introduced in 2003-01-27T11:36:08Z!fx@gnu.org, 2003/01/27.
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))) |