summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2007-05-19 04:46:32 +0000
committerGlenn Morris <rgm@gnu.org>2007-05-19 04:46:32 +0000
commit68b77b6489e57a7a60a18a407af50042bab31dab (patch)
treed994697519092e19d1dc3159e9e1caba92a076c3
parent877d11feb61a7d39104aeba55aafaa2e8039420f (diff)
Kevin Ryde <user42 at zip.com.au>
(Info-fontify-node): Fontify https as well as http and ftp.
-rw-r--r--lisp/info.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/info.el b/lisp/info.el
index b9216b903e..84e8248e02 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -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