aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2006-04-29 13:55:42 +0000
committerStefan Monnier2006-04-29 13:55:42 +0000
commita55b741ef27db4b7e5c5b67acf92069cb039a0f8 (patch)
tree01b96e62d777ee5e23823027d5acff304ca9b0b7
parent305452a5903e59a1de841ddf6f342918d3068462 (diff)
downloademacs-a55b741ef27db4b7e5c5b67acf92069cb039a0f8.tar.gz
emacs-a55b741ef27db4b7e5c5b67acf92069cb039a0f8.zip
(reftex-guess-label-type): Tighten the safety predicate.
-rw-r--r--lisp/textmodes/reftex-vars.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/reftex-vars.el b/lisp/textmodes/reftex-vars.el
index 026336c301e..f4334fbbd70 100644
--- a/lisp/textmodes/reftex-vars.el
+++ b/lisp/textmodes/reftex-vars.el
@@ -975,7 +975,7 @@ immediately offer the correct label menu - otherwise it will prompt you for
975a label type. If you set this variable to nil, RefTeX will always prompt." 975a label type. If you set this variable to nil, RefTeX will always prompt."
976 :group 'reftex-referencing-labels 976 :group 'reftex-referencing-labels
977 :type 'boolean) 977 :type 'boolean)
978;;;###autoload(put 'reftex-guess-label-type 'safe-local-variable 'symbolp) 978;;;###autoload(put 'reftex-guess-label-type 'safe-local-variable (lambda (x) (memq x '(nil t))))
979 979
980(defcustom reftex-format-ref-function nil 980(defcustom reftex-format-ref-function nil
981 "Function which produces the string to insert as a reference. 981 "Function which produces the string to insert as a reference.