]> git.eshelyaron.com Git - emacs.git/commitdiff
(reftex-guess-label-type): Tighten the safety predicate.
authorStefan Monnier <monnier@iro.umontreal.ca>
Sat, 29 Apr 2006 13:55:42 +0000 (13:55 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sat, 29 Apr 2006 13:55:42 +0000 (13:55 +0000)
lisp/textmodes/reftex-vars.el

index 026336c301e701efbcd1a800042daae821161b09..f4334fbbd706b7121958beb6eddb2043be0e71a3 100644 (file)
@@ -975,7 +975,7 @@ immediately offer the correct label menu - otherwise it will prompt you for
 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.