changeset 70266:c365b1256696

(reftex-guess-label-type): Tighten the safety predicate.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Sat, 29 Apr 2006 13:55:42 +0000
parents 76465e48c749
children a2c45c9f7e1f
files lisp/textmodes/reftex-vars.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/reftex-vars.el	Sat Apr 29 03:51:50 2006 +0000
+++ b/lisp/textmodes/reftex-vars.el	Sat Apr 29 13:55:42 2006 +0000
@@ -975,7 +975,7 @@
 a label type.  If you set this variable to nil, RefTeX will always prompt."
   :group 'reftex-referencing-labels
   :type 'boolean)
-;;;###autoload(put 'reftex-guess-label-type 'safe-local-variable 'symbolp)
+;;;###autoload(put 'reftex-guess-label-type 'safe-local-variable (lambda (x) (memq x '(nil t))))
 
 (defcustom reftex-format-ref-function nil
   "Function which produces the string to insert as a reference.