changeset 77772:677c6dd06818

(Info-fontify-node): Match https also.
author Richard M. Stallman <rms@gnu.org>
date Tue, 22 May 2007 08:23:36 +0000
parents 7af39c439adf
children e0264dddb1ca
files lisp/info.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/info.el	Tue May 22 08:22:57 2007 +0000
+++ b/lisp/info.el	Tue May 22 08:23:36 2007 +0000
@@ -4074,7 +4074,7 @@
       ;; 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