(Info-fontify-node): Match https also.
authorRichard M. Stallman <rms@gnu.org>
Tue, 22 May 2007 08:23:36 +0000 (08:23 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 22 May 2007 08:23:36 +0000 (08:23 +0000)
lisp/info.el

index b9216b9..3b709ab 100644 (file)
@@ -4074,7 +4074,7 @@ the variable `Info-file-list-for-emacs'."
       ;; Fontify http and ftp references
       (goto-char (point-min))
       (when not-fontified-p
-        (while (re-search-forward "[hf]t?tp://[^ \t\n\"`({<>})']+" nil t)
+        (while (re-search-forward "\\(https?\\|ftp\\)://[^ \t\n\"`({<>})']+" nil t)
           (add-text-properties (match-beginning 0) (match-end 0)
                                '(font-lock-face info-xref
                                                 mouse-face highlight