changeset 54460:82f7cd1ab4eb

(cfengine-mode): Set parse-sexp-ignore-comments.
author Juanma Barranquero <lekktu@gmail.com>
date Sun, 21 Mar 2004 15:29:42 +0000
parents bdc0ecff8aec
children 5c8be4779a36
files lisp/progmodes/cfengine.el
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/cfengine.el	Sun Mar 21 15:24:38 2004 +0000
+++ b/lisp/progmodes/cfengine.el	Sun Mar 21 15:29:42 2004 +0000
@@ -239,7 +239,11 @@
   (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)