mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-06 03:40:56 -08:00
Kevin Ryde <user42 at zip.com.au>
(Info-fontify-node): Fontify https as well as http and ftp.
This commit is contained in:
parent
877d11feb6
commit
68b77b6489
1 changed files with 2 additions and 1 deletions
|
|
@ -4074,7 +4074,8 @@ the variable `Info-file-list-for-emacs'."
|
||||||
;; Fontify http and ftp references
|
;; Fontify http and ftp references
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
(when not-fontified-p
|
(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)
|
(add-text-properties (match-beginning 0) (match-end 0)
|
||||||
'(font-lock-face info-xref
|
'(font-lock-face info-xref
|
||||||
mouse-face highlight
|
mouse-face highlight
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue