diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2013-04-12 01:05:34 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2013-04-12 01:10:17 +0200 |
commit | 65bc295b35beac42e410ae78a3077ce28f1e49a9 (patch) | |
tree | 6f0cd712736949bc28cbd870e9b9f31354d406f1 /elisp | |
parent | 7a666d1e2da690ab45a2f40d388e47df711e4868 (diff) | |
download | geiser-guile-65bc295b35beac42e410ae78a3077ce28f1e49a9.tar.gz geiser-guile-65bc295b35beac42e410ae78a3077ce28f1e49a9.tar.bz2 |
A bit of documentation for the previous patches
Diffstat (limited to 'elisp')
-rw-r--r-- | elisp/geiser-mode.el | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/elisp/geiser-mode.el b/elisp/geiser-mode.el index 8d66a8a..4d43d1b 100644 --- a/elisp/geiser-mode.el +++ b/elisp/geiser-mode.el @@ -74,6 +74,7 @@ active when `geiser-mode' is activated in a buffer." (defun geiser-eval-region (start end &optional and-go raw nomsg) "Eval the current region in the Geiser REPL. + With prefix, goes to the REPL buffer afterwards (as `geiser-eval-region-and-go')" (interactive "rP") @@ -94,6 +95,7 @@ With prefix, goes to the REPL buffer afterwards (as (defun geiser-eval-definition (&optional and-go) "Eval the current definition in the Geiser REPL. + With prefix, goes to the REPL buffer afterwards (as `geiser-eval-definition-and-go')" (interactive "P") @@ -110,6 +112,7 @@ With prefix, goes to the REPL buffer afterwards (as (defun geiser-eval-last-sexp (print-to-buffer-p) "Eval the previous sexp in the Geiser REPL. + With a prefix, print the result of the evaluation to the buffer." (interactive "P") (let* ((ret (geiser-eval-region (save-excursion (backward-sexp) (point)) @@ -124,6 +127,7 @@ With a prefix, print the result of the evaluation to the buffer." (defun geiser-compile-definition (&optional and-go) "Compile the current definition in the Geiser REPL. + With prefix, goes to the REPL buffer afterwards (as `geiser-eval-definition-and-go')" (interactive "P") @@ -150,6 +154,7 @@ With prefix, recursively macro-expand the resulting expression." (defun geiser-expand-definition (&optional all) "Macro-expand the current definition. + With prefix, recursively macro-expand the resulting expression." (interactive "P") (save-excursion @@ -160,6 +165,7 @@ With prefix, recursively macro-expand the resulting expression." (defun geiser-expand-last-sexp (&optional all) "Macro-expand the previous sexp. + With prefix, recursively macro-expand the resulting expression." (interactive "P") (geiser-expand-region (save-excursion (backward-sexp) (point)) @@ -176,6 +182,7 @@ With prefix, recursively macro-expand the resulting expression." (defun geiser-mode-switch-to-repl (arg) "Switches to Geiser REPL. + With prefix, try to enter the current buffer's module." (interactive "P") (if arg @@ -201,6 +208,7 @@ With prefix, try to enter the current buffer's module." (defun geiser-squarify (n) "Toggle between () and [] for current form. + With numeric prefix, perform that many toggles, forward for positive values and backward for negative." (interactive "p") @@ -251,6 +259,7 @@ positive values and backward for negative." (define-minor-mode geiser-mode "Toggle Geiser's mode. + With no argument, this command toggles the mode. Non-null prefix argument turns on the mode. Null prefix argument turns off the mode. |