]> git.eshelyaron.com Git - emacs.git/commitdiff
Clarify reftex-extra-bindings docs.
authorTassilo Horn <tsdh@gnu.org>
Wed, 16 Sep 2015 08:36:01 +0000 (10:36 +0200)
committerTassilo Horn <tsdh@gnu.org>
Wed, 16 Sep 2015 08:36:01 +0000 (10:36 +0200)
* 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.

doc/misc/reftex.texi
lisp/textmodes/reftex-vars.el

index 726ec4e85216acdd586864b2c8259a98d05625aa..01d5ad7b0222ca7df256f6fa77a5d1bd74ea2be9 100644 (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
index 482dd4c63968b57d4d6d3ce20549e7f0bbfe3544..357a0938e6aafaa0955e13ce60b955d6ef88d2a1 100644 (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)