]> git.eshelyaron.com Git - emacs.git/commitdiff
(ffap-alist): Remove space from RFC regexp.
authorGlenn Morris <rgm@gnu.org>
Fri, 18 Jan 2008 05:43:35 +0000 (05:43 +0000)
committerGlenn Morris <rgm@gnu.org>
Fri, 18 Jan 2008 05:43:35 +0000 (05:43 +0000)
lisp/ChangeLog
lisp/ffap.el

index 50bce510858ed3cc959254bb34161035417b241c..9c95f77c42837bd5312170d5c09fec29195bd328 100644 (file)
@@ -1,3 +1,7 @@
+2008-01-18  Glenn Morris  <rgm@gnu.org>
+
+       * ffap.el (ffap-alist): Remove space from RFC regexp.
+
 2008-01-18  Richard Stallman  <rms@gnu.org>
 
        * custom.el (custom-theme-recalc-face): Use face-spec-set rather
index 27cdd9cf51272c8b216b64407111cbb9237b14b4..c34478a30de005633217d7cb6c542d5ee2256522 100644 (file)
@@ -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
     )