* 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.
This commit is contained in:
Glenn Morris 2011-02-16 20:38:23 -08:00
parent 584c9d3fd0
commit 8551cb3203
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2011-02-17 Glenn Morris <rgm@gnu.org>
* dired-x.el (dired-filename-at-point): Fix 8-year old typo.
2011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
* allout-widgets.el: New allout extension that shows allout

View file

@ -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)))