Mercurial > emacs
comparison lisp/progmodes/cfengine.el @ 90737:95d0cdf160ea
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 586-614)
- Update from CVS
- Update from erc--emacs--22
- Merge from gnus--rel--5.10
- Merge from erc--main--0
- Make byte compiler correctly write circular constants
* gnus--rel--5.10 (patch 186-196)
- Update from CVS
- Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-162
author | Miles Bader <miles@gnu.org> |
---|---|
date | Fri, 26 Jan 2007 06:16:11 +0000 |
parents | a1a25ac6c88a e3694f1cb928 |
children | f55f9811f5d7 |
comparison
equal
deleted
inserted
replaced
90736:ef1369583937 | 90737:95d0cdf160ea |
---|---|
1 ;;; cfengine.el --- mode for editing Cfengine files | 1 ;;; cfengine.el --- mode for editing Cfengine files |
2 | 2 |
3 ;; Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 | 3 ;; Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 |
4 ;; Free Software Foundation, Inc. | 4 ;; Free Software Foundation, Inc. |
5 | 5 |
6 ;; Author: Dave Love <fx@gnu.org> | 6 ;; Author: Dave Love <fx@gnu.org> |
7 ;; Keywords: languages | 7 ;; Keywords: languages |
8 | 8 |
87 | 87 |
88 (defconst cfengine-font-lock-syntactic-keywords | 88 (defconst cfengine-font-lock-syntactic-keywords |
89 ;; In the main syntax-table, backslash is marked as a punctuation, because | 89 ;; In the main syntax-table, backslash is marked as a punctuation, because |
90 ;; of its use in DOS-style directory separators. Here we try to recognize | 90 ;; of its use in DOS-style directory separators. Here we try to recognize |
91 ;; the cases where backslash is used as an escape inside strings. | 91 ;; the cases where backslash is used as an escape inside strings. |
92 '(("\\(\\(?:\\\\\\)+\\)\"" . "\\"))) | 92 '(("\\(\\(?:\\\\\\)+\\)\"" 1 "\\"))) |
93 | 93 |
94 (defvar cfengine-imenu-expression | 94 (defvar cfengine-imenu-expression |
95 `((nil ,(concat "^[ \t]*" (eval-when-compile | 95 `((nil ,(concat "^[ \t]*" (eval-when-compile |
96 (regexp-opt cfengine-actions t)) | 96 (regexp-opt cfengine-actions t)) |
97 ":[^:]") | 97 ":[^:]") |