diff options
| author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2012-06-09 14:24:22 +0200 | 
|---|---|---|
| committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2012-06-09 14:24:22 +0200 | 
| commit | aa5c46bf7e24eb790f05cd1336130a459a324efa (patch) | |
| tree | 5e0b2aa42222f44e6782a5409785fa058fa4b06e | |
| parent | e46d9672bab36214f2695c8562a47645da7da309 (diff) | |
| download | geiser-aa5c46bf7e24eb790f05cd1336130a459a324efa.tar.gz geiser-aa5c46bf7e24eb790f05cd1336130a459a324efa.tar.bz2 | |
Support for user-defined Guile info nodes
In my debian machine, the info nodes for guile live in the "guile-2.0"
node, rather than plain "guile".  A new customizable variable,
geiser-guile-manual-lookup-nodes, lets now specify additional names,
and we only add indexes to the info-lookup mode definition when the
node actually exists.
| -rw-r--r-- | doc/parens.texi | 14 | ||||
| -rw-r--r-- | elisp/geiser-repl.el | 4 | 
2 files changed, 12 insertions, 6 deletions
| diff --git a/doc/parens.texi b/doc/parens.texi index a41057a..b4df02e 100644 --- a/doc/parens.texi +++ b/doc/parens.texi @@ -376,15 +376,21 @@ will open your web browser displaying the corresponding reference's page  (using Emacs' @code{browser-url} command), while in Guile a lookup will  be performed in the texinfo manual. -@cindex opening manual pages -You can also jump directly to the manual page for the symbol at point -with the command @code{geiser-doc-look-up-manual}, bound to @kbd{C-c C-d -i}. +@cindex Guile info nodes +For Guile, the manual lookup uses the info indexes in the standard +Guile info nodes, which are usually named ``guile'' or ``guile-2.0''. +If yours are named differently, just add your name to the customizable +variable @code{geiser-guile-manual-lookup-nodes}.  A list of all navigation commands in the documentation browser is  available in  @altr{Documentation browser,our cheat-sheet,Documentation browser,.} +@cindex opening manual pages +You can also skip the documentation browser and jump directly to the +manual page for the symbol at point with the command +@code{geiser-doc-look-up-manual}, bound to @kbd{C-c C-d i}. +  @node To eval or not to eval, To err perchance to debug, Documentation helpers, Between the parens  @section To eval or not to eval diff --git a/elisp/geiser-repl.el b/elisp/geiser-repl.el index 7badaf0..14d71cc 100644 --- a/elisp/geiser-repl.el +++ b/elisp/geiser-repl.el @@ -350,8 +350,8 @@ module command as a string")  (setq geiser-eval--default-connection-function 'geiser-repl--connection)  (defun geiser-repl--prepare-send () -  (geiser-con--connection-deactivate geiser-repl--connection) -  (geiser-autodoc--inhibit-autodoc)) +  (geiser-autodoc--inhibit-autodoc) +  (geiser-con--connection-deactivate geiser-repl--connection))  (defun geiser-repl--send (cmd)    (when (and cmd (eq major-mode 'geiser-repl-mode)) | 
