(Info-fontify-node): Match https also.

This commit is contained in:
Richard M. Stallman 2007-05-22 08:23:36 +00:00
parent 0daf086a96
commit 2cf0c0db33

View 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