aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2011-02-16 20:38:23 -0800
committerGlenn Morris2011-02-16 20:38:23 -0800
commit8551cb3203ce2a4a22f8ac336eb628c400a65021 (patch)
tree690686b656e8ab7beaf552a410244aca25f79818
parent584c9d3fd0784fac55fe46d98ccefa5eb461fed8 (diff)
downloademacs-8551cb3203ce2a4a22f8ac336eb628c400a65021.tar.gz
emacs-8551cb3203ce2a4a22f8ac336eb628c400a65021.zip
* 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.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/dired-x.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index fafb931b3c7..c626dcd4b9e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12011-02-17 Glenn Morris <rgm@gnu.org>
2
3 * dired-x.el (dired-filename-at-point): Fix 8-year old typo.
4
12011-02-16 Ken Manheimer <ken.manheimer@gmail.com> 52011-02-16 Ken Manheimer <ken.manheimer@gmail.com>
2 6
3 * allout-widgets.el: New allout extension that shows allout 7 * allout-widgets.el: New allout extension that shows allout
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."
1678 (setq prefix 1678 (setq prefix
1679 (and (string-match 1679 (and (string-match
1680 "^\\w+@" 1680 "^\\w+@"
1681 (buffer-substring start (line-beginning-position))) 1681 (buffer-substring start (line-end-position)))
1682 "/")) 1682 "/"))
1683 (goto-char start) 1683 (goto-char start)
1684 (if (string-match "[/~]" (char-to-string (preceding-char))) 1684 (if (string-match "[/~]" (char-to-string (preceding-char)))