summaryrefslogtreecommitdiff
path: root/lisp/generic-x.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2009-01-30 03:45:51 +0000
committerGlenn Morris <rgm@gnu.org>2009-01-30 03:45:51 +0000
commitd1501442e0e38a084192acacd74ae2c7509f954b (patch)
tree725bd651567435563aa37953e1e3f2ddab4f4335 /lisp/generic-x.el
parentc279587b96fd9f51477ea5648f9130981c59b11d (diff)
downloademacs-d1501442e0e38a084192acacd74ae2c7509f954b.tar.gz
Toby Speight <streapadair at gmx.net> (tiny change)
(hosts-generic-mode, named-database-generic-mode): Fix regexp quoting.
Diffstat (limited to 'lisp/generic-x.el')
-rw-r--r--lisp/generic-x.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/generic-x.el b/lisp/generic-x.el
index 410bd99c08d..3677c9732a9 100644
--- a/lisp/generic-x.el
+++ b/lisp/generic-x.el
@@ -376,7 +376,7 @@ 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))
'("[hH][oO][sS][tT][sS]\\'")
nil
"Generic mode for HOSTS files."))
@@ -1811,7 +1811,7 @@ like an INI file. You can add this hook to `find-file-hook'."
'("cache" "primary" "secondary" "forwarders" "limit" "options"
"directory" "check-names")
;; List of additional font-lock-expressions
- '(("\\([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)
("^directory\\s-+\\(.*\\)" 1 font-lock-variable-name-face)
("^\\(primary\\|cache\\)\\s-+\\([.A-Za-z]+\\)\\s-+\\(.*\\)"
(2 font-lock-variable-name-face)
@@ -1829,7 +1829,7 @@ like an INI file. You can add this hook to `find-file-hook'."
;; List of keywords
'("IN" "NS" "CNAME" "SOA" "PTR" "MX" "A")
;; List of additional font-lock-expressions
- '(("\\([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)
("^\\([.A-Za-z0-9]+\\)" 1 font-lock-variable-name-face))
;; List of additional auto-mode-alist expressions
nil