diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2012-10-13 04:14:25 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2012-10-13 04:14:25 +0200 |
commit | b5d77afab8fe99a4ff4b1e3658d678bf36d0a6b2 (patch) | |
tree | a2989620ab931afcbf0f289a5d91b46fd28ec80a | |
parent | b8630ca33b9abbcc5b39163d1df9180a66f1f998 (diff) | |
download | geiser-b5d77afab8fe99a4ff4b1e3658d678bf36d0a6b2.tar.gz geiser-b5d77afab8fe99a4ff4b1e3658d678bf36d0a6b2.tar.bz2 |
Manual lookup shortcut (C-c C-d i) also in REPL buffers
-rw-r--r-- | doc/cheat.texi | 3 | ||||
-rw-r--r-- | doc/repl.texi | 4 | ||||
-rw-r--r-- | elisp/geiser-repl.el | 3 |
3 files changed, 9 insertions, 1 deletions
diff --git a/doc/cheat.texi b/doc/cheat.texi index bdcd2aa..0d5403e 100644 --- a/doc/cheat.texi +++ b/doc/cheat.texi @@ -154,6 +154,9 @@ third key not modified by @key{Control}; e.g., @item C-c C-d C-d @tab @code{geiser-doc-symbol-at-point} @tab See documentation for symbol at point +@item C-c C-d C-i +@tab @code{geiser-doc-look-up-manual} +@tab Look up manual for symbol at point @item C-c C-d C-m @tab @code{geiser-repl--doc-module} @tab See documentation for module diff --git a/doc/repl.texi b/doc/repl.texi index 445811a..285f8f8 100644 --- a/doc/repl.texi +++ b/doc/repl.texi @@ -249,7 +249,9 @@ buffer will contain implementation-specific information about the identifier (e.g., its docstring for Guile, or its contract, if any, for Racket), and a handy button to open the corresponding manual entry for the symbol, which will open an HTML page (for Racket) or the texinfo -manual (for Guile). +manual (for Guile). If you'd rather go directly to the manual, try +@kbd{C-c C-d i}, which invokes @code{geiser-doc-look-up-manual} as the +handy button does. @cindex module exports @anchor{repl-mod} Geiser can also produce for you a list, classified by diff --git a/elisp/geiser-repl.el b/elisp/geiser-repl.el index c8846ea..b586efa 100644 --- a/elisp/geiser-repl.el +++ b/elisp/geiser-repl.el @@ -599,6 +599,9 @@ buffer." ("Symbol documentation" ("\C-c\C-dd" "\C-c\C-d\C-d") geiser-doc-symbol-at-point "Documentation for symbol at point" :enable (geiser--symbol-at-point)) + ("Lookup symbol in manul" ("\C-c\C-di" "\C-c\C-d\C-i") + geiser-doc-look-up-manual + "Documentation for symbol at point" :enable (geiser--symbol-at-point)) ("Module documentation" ("\C-c\C-dm" "\C-c\C-d\C-m") geiser-repl--doc-module "Documentation for module at point" :enable (geiser--symbol-at-point)) -- |