diff options
author | Glenn Morris <rgm@gnu.org> | 2007-05-19 04:46:32 +0000 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2007-05-19 04:46:32 +0000 |
commit | 68b77b6489e57a7a60a18a407af50042bab31dab (patch) | |
tree | d994697519092e19d1dc3159e9e1caba92a076c3 /lisp/info.el | |
parent | 877d11feb61a7d39104aeba55aafaa2e8039420f (diff) | |
download | emacs-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.el | 3 |
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 |