summaryrefslogtreecommitdiff
path: root/elisp/geiser-doc.el
diff options
context:
space:
mode:
Diffstat (limited to 'elisp/geiser-doc.el')
-rw-r--r--elisp/geiser-doc.el21
1 files changed, 14 insertions, 7 deletions
diff --git a/elisp/geiser-doc.el b/elisp/geiser-doc.el
index 5684e54..cf7b7a7 100644
--- a/elisp/geiser-doc.el
+++ b/elisp/geiser-doc.el
@@ -255,7 +255,6 @@ With prefix argument, ask for symbol (with completion)."
(symbol-at-point)))))
(when symbol (geiser-doc-symbol symbol))))
-
(defun geiser-doc-module (&optional module impl)
"Display information about a given module."
(interactive)
@@ -353,16 +352,24 @@ With prefix, the current page is deleted from history."
(defun geiser-doc--visible-p () )
(geiser-menu--defmenu doc geiser-doc-mode-map
- ("Next" "\C-c\C-f" geiser-doc-next "Next item"
+ ("Next page" ("n" "f") geiser-doc-next "Next item"
:enable (geiser-doc--history-next-p))
- ("Previous" "\C-c\C-b" geiser-doc-previous "Previous item"
+ ("Previous page" ("p" "b") geiser-doc-previous "Previous item"
:enable (geiser-doc--history-previous-p))
- ("Refresh" "\C-c\C-r" geiser-doc-refresh "Refresh current page")
+ ("Next link" nil forward-button)
+ ("Previous link" nil backward-button)
+ ("Go to REPL" ("z" "\C-cz" "\C-\C-z") switch-to-geiser)
+ ("Refresh" ("g" "r") geiser-doc-refresh "Refresh current page")
+ --
+ ("Edit symbol" ("." "\M-.") geiser-doc-edit-symbol-at-point
+ :enable (symbol-at-point))
+ --
+ ("Kill item" "k" geiser-doc-kill-page "Kill this page")
+ ("Clear history" "c" geiser-doc-clean-history)
--
- ("Kill item" "\C-c\C-k" geiser-doc-kill-page "Kill this page")
- ("Clean history" "\C-c\C-c" geiser-doc-clean-history)
+ (custom "Browser options" geiser-doc)
--
- (custom "Browser options" geiser-doc))
+ ("Quit" nil View-quit))
(defun geiser-doc-mode ()
"Major mode for browsing scheme documentation.