Mercurial > emacs
changeset 70220:30348fc29fd7
(colon-double-space): Tighten up a bit the safety predicate.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 26 Apr 2006 05:27:48 +0000 |
parents | 7a59f2600206 |
children | 1fd89e2b70fd |
files | lisp/ChangeLog lisp/textmodes/fill.el |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Wed Apr 26 05:26:39 2006 +0000 +++ b/lisp/ChangeLog Wed Apr 26 05:27:48 2006 +0000 @@ -1,8 +1,11 @@ 2006-04-26 Stefan Monnier <monnier@iro.umontreal.ca> + * 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.
--- a/lisp/textmodes/fill.el Wed Apr 26 05:26:39 2006 +0000 +++ b/lisp/textmodes/fill.el Wed Apr 26 05:27:48 2006 +0000 @@ -48,7 +48,7 @@ "*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.