]> git.eshelyaron.com Git - emacs.git/commitdiff
(cfengine-mode): Set parse-sexp-ignore-comments.
authorJuanma Barranquero <lekktu@gmail.com>
Sun, 21 Mar 2004 15:29:42 +0000 (15:29 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Sun, 21 Mar 2004 15:29:42 +0000 (15:29 +0000)
lisp/progmodes/cfengine.el

index 1f15184f5527dae70ed5061316dd4df3a132d3ad..62633fe294006ce4e471e003a4a5bb1c447ff951 100644 (file)
@@ -239,7 +239,11 @@ to the action header."
   (setq imenu-generic-expression cfengine-imenu-expression)
   (set (make-local-variable 'beginning-of-defun-function)
        #'cfengine-beginning-of-defun)
-  (set (make-local-variable 'end-of-defun-function) #'cfengine-end-of-defun))
+  (set (make-local-variable 'end-of-defun-function) #'cfengine-end-of-defun)
+  ;; Like Lisp mode.  Without this, we lose with, say,
+  ;; `backward-up-list' when there's an unbalanced quote in a
+  ;; preceding comment.
+  (set (make-local-variable 'parse-sexp-ignore-comments) t))
 
 (provide 'cfengine)