mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
* lisp/generic-x.el (hosts-generic-mode): Support IPv6 addresses.
This commit is contained in:
parent
80d964ec8b
commit
4cded88b0e
1 changed files with 2 additions and 1 deletions
|
|
@ -365,7 +365,8 @@ your changes into effect."
|
|||
(define-generic-mode hosts-generic-mode
|
||||
'(?#)
|
||||
'("localhost")
|
||||
'(("\\([0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+\\)" 1 font-lock-constant-face))
|
||||
'(("\\([0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+\\)" 1 font-lock-constant-face)
|
||||
("\\<\\([0-9A-Fa-f:]+\\)\\>" 1 font-lock-constant-face))
|
||||
'("[hH][oO][sS][tT][sS]\\'")
|
||||
nil
|
||||
"Generic mode for HOSTS files."))
|
||||
|
|
|
|||
Loading…
Reference in a new issue