summaryrefslogtreecommitdiff
path: root/lisp/info.el
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 /lisp/info.el
parent877d11feb61a7d39104aeba55aafaa2e8039420f (diff)
downloademacs-68b77b6489e57a7a60a18a407af50042bab31dab.tar.gz
Kevin Ryde <user42 at zip.com.au>
(Info-fontify-node): Fontify https as well as http and ftp.
Diffstat (limited to 'lisp/info.el')
-rw-r--r--lisp/info.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/info.el b/lisp/info.el
index b9216b903ec..84e8248e029 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