Show
Ignore:
Timestamp:
09/18/06 20:48:14 (2 years ago)
Author:
miyoshi
Message:

Sync up with Emacs CVS HEAD.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lisp/progmodes/cfengine.el

    r4037 r4166  
    8585    ;; File, acl &c in group:   { token ... } 
    8686    ("{[ \t]*\\([^ \t\n]+\\)" 1 font-lock-constant-face))) 
     87 
     88(defconst cfengine-font-lock-syntactic-keywords 
     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 
     91  ;; the cases where backslash is used as an escape inside strings. 
     92  '(("\\(\\(?:\\\\\\)+\\)\"" . "\\"))) 
    8793 
    8894(defvar cfengine-imenu-expression 
     
    219225  (modify-syntax-entry ?$ "." cfengine-mode-syntax-table) 
    220226  ;; Doze path separators: 
    221   (modify-syntax-entry ?\\ "_" cfengine-mode-syntax-table) 
     227  (modify-syntax-entry ?\\ "." cfengine-mode-syntax-table) 
    222228  ;; Otherwise, syntax defaults seem OK to give reasonable word 
    223229  ;; movement. 
     
    238244  ;; syntax properties. 
    239245  (setq font-lock-defaults 
    240         '(cfengine-font-lock-keywords nil nil nil beginning-of-line)) 
     246        '(cfengine-font-lock-keywords nil nil nil beginning-of-line 
     247          (font-lock-syntactic-keywords 
     248           . cfengine-font-lock-syntactic-keywords))) 
    241249  (setq imenu-generic-expression cfengine-imenu-expression) 
    242250  (set (make-local-variable 'beginning-of-defun-function) 
     
    250258(provide 'cfengine) 
    251259 
    252 ;;; arch-tag: 6b931be2-1505-4124-afa6-9675971e26d4 
     260;; arch-tag: 6b931be2-1505-4124-afa6-9675971e26d4 
    253261;;; cfengine.el ends here