# HG changeset patch # User Stefan Monnier # Date 1146318942 0 # Node ID c365b1256696c66f8b67af43425aaf0deee45535 # Parent 76465e48c749096e4afda0be734a11cad337781b (reftex-guess-label-type): Tighten the safety predicate. diff -r 76465e48c749 -r c365b1256696 lisp/textmodes/reftex-vars.el --- 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.