From a1c43d02e9a4c6aba699951ab0768ca120f3cb59 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 26 Apr 2006 05:27:48 +0000 Subject: [PATCH] (colon-double-space): Tighten up a bit the safety predicate. --- lisp/ChangeLog | 3 +++ lisp/textmodes/fill.el | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4b5d9bf58d5..045bae9ed60 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,8 +1,11 @@ 2006-04-26 Stefan Monnier + * textmodes/fill.el (colon-double-space): Tighten up the safety pred. + * progmodes/python.el (python-continuation-line-p) (python-beginning-of-statement): syntax-ppss may return a negative depth. + (python-mode): Don't forcefully enable font-lock. * time-stamp.el (time-stamp-start, time-stamp-end) (time-stamp-inserts-lines): Tighten up a bit the safety predicate. diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el index 312c73a380b..545e9fe14b5 100644 --- a/lisp/textmodes/fill.el +++ b/lisp/textmodes/fill.el @@ -48,7 +48,7 @@ A value of nil means that any change in indentation starts a new paragraph." "*Non-nil means put two spaces after a colon when filling." :type 'boolean :group 'fill) -;;;###autoload(put 'colon-double-space 'safe-local-variable t) +;;;###autoload(put 'colon-double-space 'safe-local-variable 'symbolp) (defvar fill-paragraph-function nil "Mode-specific function to fill a paragraph, or nil if there is none. -- 2.39.2