unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* cfengine.el fix
@ 2004-03-21  4:59 Richard Stallman
  0 siblings, 0 replies; only message in thread
From: Richard Stallman @ 2004-03-21  4:59 UTC (permalink / raw)


Could someone please install this?

To: emacs-pretest-bug@gnu.org   
From: Dave Love <d.love@dl.ac.uk>
Date: Thu, 18 Mar 2004 15:16:47 +0000
Subject: fix for cfengine.el
Sender: emacs-pretest-bug-bounces+rms=gnu.org@gnu.org

2004-03-10  Dave Love  <fx@gnu.org>

	* progmodes/cfengine.el (cfengine-mode): Set
	parse-sexp-ignore-comments.

--- cfengine.el.~1.2.~	Wed Oct 22 15:08:21 2003
+++ cfengine.el	Wed Mar 10 12:44:33 2004
@@ -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)
 


_______________________________________________
Emacs-pretest-bug mailing list
Emacs-pretest-bug@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-pretest-bug

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-03-21  4:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-21  4:59 cfengine.el fix Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).