[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master bc67e46: Clarify reftex-extra-bindings docs.
From: |
Tassilo Horn |
Subject: |
[Emacs-diffs] master bc67e46: Clarify reftex-extra-bindings docs. |
Date: |
Wed, 16 Sep 2015 08:37:31 +0000 |
branch: master
commit bc67e467603afe8ca1b9751b23a663e2e0d65f57
Author: Tassilo Horn <address@hidden>
Commit: Tassilo Horn <address@hidden>
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.
---
doc/misc/reftex.texi | 3 +++
lisp/textmodes/reftex-vars.el | 3 ++-
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/doc/misc/reftex.texi b/doc/misc/reftex.texi
index 726ec4e..01d5ad7 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
(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
diff --git a/lisp/textmodes/reftex-vars.el b/lisp/textmodes/reftex-vars.el
index 482dd4c..357a093 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."
(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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master bc67e46: Clarify reftex-extra-bindings docs.,
Tassilo Horn <=