all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Subject: cfengine.el fix
Date: Sat, 20 Mar 2004 23:59:29 -0500	[thread overview]
Message-ID: <E1B4v3Z-0008Ej-Bg@fencepost.gnu.org> (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

                 reply	other threads:[~2004-03-21  4:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1B4v3Z-0008Ej-Bg@fencepost.gnu.org \
    --to=rms@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.