summaryrefslogtreecommitdiff
path: root/lisp/ffap.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2008-01-18 05:43:35 +0000
committerGlenn Morris <rgm@gnu.org>2008-01-18 05:43:35 +0000
commitd4f7fdc601f3eca0a09c3dd4ca23396dd5b531b6 (patch)
tree8c9cc0d90347dd9e86600762e0de07f31ce2b452 /lisp/ffap.el
parent279c44082ae75f8483460b5c7936416e8ef7df01 (diff)
downloademacs-d4f7fdc601f3eca0a09c3dd4ca23396dd5b531b6.tar.gz
(ffap-alist): Remove space from RFC regexp.
Diffstat (limited to 'lisp/ffap.el')
-rw-r--r--lisp/ffap.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ffap.el b/lisp/ffap.el
index 27cdd9cf512..c34478a30de 100644
--- a/lisp/ffap.el
+++ b/lisp/ffap.el
@@ -797,7 +797,10 @@ This uses ffap-file-exists-string, which may try adding suffixes from
("\\.bib\\'" . ffap-bib) ; search ffap-bib-path
("\\`\\." . ffap-home) ; .emacs, .bashrc, .profile
("\\`~/" . ffap-lcd) ; |~/misc/ffap.el.Z|
- ("^[Rr][Ff][Cc][- #]?\\([0-9]+\\)" ; no $
+ ;; This uses to have a blank, but ffap-string-at-point doesn't
+ ;; handle blanks.
+ ;; http://lists.gnu.org/archive/html/emacs-devel/2008-01/msg01058.html
+ ("^[Rr][Ff][Cc][-#]?\\([0-9]+\\)" ; no $
. ffap-rfc) ; "100% RFC2100 compliant"
(dired-mode . ffap-dired) ; maybe in a subdirectory
)