aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2006-04-26 05:36:12 +0000
committerStefan Monnier2006-04-26 05:36:12 +0000
commit7e5d77dc2ca1d4064cba18955ab2c50766f62fa8 (patch)
tree2ee83c509edb999a461a76cd163f61919a664891
parent6268ff98866e230b4fedb618543a73ae47181b4d (diff)
downloademacs-7e5d77dc2ca1d4064cba18955ab2c50766f62fa8.tar.gz
emacs-7e5d77dc2ca1d4064cba18955ab2c50766f62fa8.zip
(allout-layout, allout-passphrase-verifier-string)
(allout-passphrase-hint-string): Tighten up a bit the safety predicate.
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/allout.el6
2 files changed, 6 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index fd46d8b60f4..76881128585 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
12006-04-26 Stefan Monnier <monnier@iro.umontreal.ca> 12006-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2 2
3 * allout.el (allout-layout, allout-passphrase-verifier-string)
4 (allout-passphrase-hint-string): Tighten up a bit the safety predicate.
5
3 * textmodes/reftex-vars.el (reftex-vref-is-default) 6 * textmodes/reftex-vars.el (reftex-vref-is-default)
4 (reftex-fref-is-default, reftex-guess-label-type): 7 (reftex-fref-is-default, reftex-guess-label-type):
5 Tighten up a bit the safety predicate. 8 Tighten up a bit the safety predicate.
diff --git a/lisp/allout.el b/lisp/allout.el
index 66c4b8681db..cf7b922eea6 100644
--- a/lisp/allout.el
+++ b/lisp/allout.el
@@ -667,7 +667,7 @@ the layout used for the allout.el source file.)
667case the value of `allout-default-layout' is used.") 667case the value of `allout-default-layout' is used.")
668(make-variable-buffer-local 'allout-layout) 668(make-variable-buffer-local 'allout-layout)
669;;;###autoload 669;;;###autoload
670(put 'allout-layout 'safe-local-variable t) 670(put 'allout-layout 'safe-local-variable (lambda (x) (or (listp x) (symbolp x))))
671 671
672;;;_ : Topic header format 672;;;_ : Topic header format
673;;;_ = allout-regexp 673;;;_ = allout-regexp
@@ -1053,7 +1053,7 @@ The verifier string is retained as an Emacs file variable, as well as in
1053the emacs buffer state, if file variable adjustments are enabled. See 1053the emacs buffer state, if file variable adjustments are enabled. See
1054`allout-enable-file-variable-adjustment' for details about that.") 1054`allout-enable-file-variable-adjustment' for details about that.")
1055(make-variable-buffer-local 'allout-passphrase-verifier-string) 1055(make-variable-buffer-local 'allout-passphrase-verifier-string)
1056(put 'allout-passphrase-verifier-string 'safe-local-variable t) 1056(put 'allout-passphrase-verifier-string 'safe-local-variable 'stringp)
1057;;;_ = allout-passphrase-hint-string 1057;;;_ = allout-passphrase-hint-string
1058(defvar allout-passphrase-hint-string "" 1058(defvar allout-passphrase-hint-string ""
1059 "Variable used to retain reminder string for file's encryption passphrase. 1059 "Variable used to retain reminder string for file's encryption passphrase.
@@ -1065,7 +1065,7 @@ The hint is retained as an Emacs file variable, as well as in the emacs buffer
1065state, if file variable adjustments are enabled. See 1065state, if file variable adjustments are enabled. See
1066`allout-enable-file-variable-adjustment' for details about that.") 1066`allout-enable-file-variable-adjustment' for details about that.")
1067(make-variable-buffer-local 'allout-passphrase-hint-string) 1067(make-variable-buffer-local 'allout-passphrase-hint-string)
1068(put 'allout-passphrase-hint-string 'safe-local-variable t) 1068(put 'allout-passphrase-hint-string 'safe-local-variable 'stringp)
1069(setq-default allout-passphrase-hint-string "") 1069(setq-default allout-passphrase-hint-string "")
1070;;;_ = allout-after-save-decrypt 1070;;;_ = allout-after-save-decrypt
1071(defvar allout-after-save-decrypt nil 1071(defvar allout-after-save-decrypt nil