]> git.eshelyaron.com Git - emacs.git/commitdiff
Kevin Ryde <user42 at zip.com.au>
authorGlenn Morris <rgm@gnu.org>
Sat, 19 May 2007 04:46:32 +0000 (04:46 +0000)
committerGlenn Morris <rgm@gnu.org>
Sat, 19 May 2007 04:46:32 +0000 (04:46 +0000)
(Info-fontify-node): Fontify https as well as http and ftp.

lisp/info.el

index b9216b903ecf4278ede0e1b510ef42083e935cf2..84e8248e02986124475589d8c70725f2f3357723 100644 (file)
@@ -4074,7 +4074,8 @@ 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