1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

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.
This commit is contained in:
Tassilo Horn 2015-09-16 10:36:01 +02:00
parent 55a9b2e620
commit bc67e46760
2 changed files with 5 additions and 1 deletions

View file

@ -2893,6 +2893,9 @@ default. If you want to have these key bindings available, set in your
(setq reftex-extra-bindings t)
@end lisp
Note that this variable has to be set before @RefTeX{} is loaded to
have an effect.
@vindex reftex-load-hook
Changing and adding to @RefTeX{}'s key bindings is best done in the hook
@code{reftex-load-hook}. For information on the keymaps

View file

@ -1991,7 +1991,8 @@ symbol indicating in what context the hook is called."
(defcustom reftex-extra-bindings nil
"Non-nil means, make additional key bindings on startup.
These extra bindings are located in the users `C-c letter' map."
These extra bindings are located in the users `C-c letter' map.
Note that this variable needs to be set before reftex is loaded."
:group 'reftex-miscellaneous-configurations
:type 'boolean)