aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2006-04-26 05:27:48 +0000
committerStefan Monnier2006-04-26 05:27:48 +0000
commita1c43d02e9a4c6aba699951ab0768ca120f3cb59 (patch)
treee680f80ba6f8b1b589b8f9af20cc93a8d0e77570
parent45e46cb773188afd2ac5c9172b8c458f8c754622 (diff)
downloademacs-a1c43d02e9a4c6aba699951ab0768ca120f3cb59.tar.gz
emacs-a1c43d02e9a4c6aba699951ab0768ca120f3cb59.zip
(colon-double-space): Tighten up a bit the safety predicate.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/textmodes/fill.el2
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 4b5d9bf58d5..045bae9ed60 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,8 +1,11 @@
12006-04-26 Stefan Monnier <monnier@iro.umontreal.ca> 12006-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2 2
3 * textmodes/fill.el (colon-double-space): Tighten up the safety pred.
4
3 * progmodes/python.el (python-continuation-line-p) 5 * progmodes/python.el (python-continuation-line-p)
4 (python-beginning-of-statement): syntax-ppss may return 6 (python-beginning-of-statement): syntax-ppss may return
5 a negative depth. 7 a negative depth.
8 (python-mode): Don't forcefully enable font-lock.
6 9
7 * time-stamp.el (time-stamp-start, time-stamp-end) 10 * time-stamp.el (time-stamp-start, time-stamp-end)
8 (time-stamp-inserts-lines): Tighten up a bit the safety predicate. 11 (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."
48 "*Non-nil means put two spaces after a colon when filling." 48 "*Non-nil means put two spaces after a colon when filling."
49 :type 'boolean 49 :type 'boolean
50 :group 'fill) 50 :group 'fill)
51;;;###autoload(put 'colon-double-space 'safe-local-variable t) 51;;;###autoload(put 'colon-double-space 'safe-local-variable 'symbolp)
52 52
53(defvar fill-paragraph-function nil 53(defvar fill-paragraph-function nil
54 "Mode-specific function to fill a paragraph, or nil if there is none. 54 "Mode-specific function to fill a paragraph, or nil if there is none.