aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTassilo Horn2015-09-16 10:36:01 +0200
committerTassilo Horn2015-09-16 10:36:01 +0200
commitbc67e467603afe8ca1b9751b23a663e2e0d65f57 (patch)
tree116b02d6f332220c164aa82fb3e0fd2027f0c1b7
parent55a9b2e620f4236bb491b6e1bf54c382510adb87 (diff)
downloademacs-bc67e467603afe8ca1b9751b23a663e2e0d65f57.tar.gz
emacs-bc67e467603afe8ca1b9751b23a663e2e0d65f57.zip
Clarify reftex-extra-bindings docs.
* lisp/textmodes/reftex-vars.el (reftex-extra-bindings): Document that the variable only has an effect at load-time. * doc/misc/reftex.texi (Key Bindings): Ditto.
-rw-r--r--doc/misc/reftex.texi3
-rw-r--r--lisp/textmodes/reftex-vars.el3
2 files changed, 5 insertions, 1 deletions
diff --git a/doc/misc/reftex.texi b/doc/misc/reftex.texi
index 726ec4e8521..01d5ad7b022 100644
--- a/doc/misc/reftex.texi
+++ b/doc/misc/reftex.texi
@@ -2893,6 +2893,9 @@ default. If you want to have these key bindings available, set in your
2893(setq reftex-extra-bindings t) 2893(setq reftex-extra-bindings t)
2894@end lisp 2894@end lisp
2895 2895
2896Note that this variable has to be set before @RefTeX{} is loaded to
2897have an effect.
2898
2896@vindex reftex-load-hook 2899@vindex reftex-load-hook
2897Changing and adding to @RefTeX{}'s key bindings is best done in the hook 2900Changing and adding to @RefTeX{}'s key bindings is best done in the hook
2898@code{reftex-load-hook}. For information on the keymaps 2901@code{reftex-load-hook}. For information on the keymaps
diff --git a/lisp/textmodes/reftex-vars.el b/lisp/textmodes/reftex-vars.el
index 482dd4c6396..357a0938e6a 100644
--- a/lisp/textmodes/reftex-vars.el
+++ b/lisp/textmodes/reftex-vars.el
@@ -1991,7 +1991,8 @@ symbol indicating in what context the hook is called."
1991 1991
1992(defcustom reftex-extra-bindings nil 1992(defcustom reftex-extra-bindings nil
1993 "Non-nil means, make additional key bindings on startup. 1993 "Non-nil means, make additional key bindings on startup.
1994These extra bindings are located in the users `C-c letter' map." 1994These extra bindings are located in the users `C-c letter' map.
1995Note that this variable needs to be set before reftex is loaded."
1995 :group 'reftex-miscellaneous-configurations 1996 :group 'reftex-miscellaneous-configurations
1996 :type 'boolean) 1997 :type 'boolean)
1997 1998