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
|
||||
(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
|
||||
|
|
Loading…
Add table
Reference in a new issue