diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2011-01-23 20:12:16 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2011-01-23 20:12:16 +0100 |
commit | ba3fb44c64eac29fd0b322fb811f1983eaacf796 (patch) | |
tree | b6758bd2af27006402be4b756612f04d41777928 /elisp | |
parent | 209110b1852fec5260e95deb9a47208c67927e2f (diff) | |
download | geiser-chez-ba3fb44c64eac29fd0b322fb811f1983eaacf796.tar.gz geiser-chez-ba3fb44c64eac29fd0b322fb811f1983eaacf796.tar.bz2 |
geiser-repl--tab -> geiser-repl-tab-dwim
Following a suggestion by M. Harig, and following the policy that it's
better for command names to not be doubly hyphenated.
Diffstat (limited to 'elisp')
-rw-r--r-- | elisp/geiser-repl.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/elisp/geiser-repl.el b/elisp/geiser-repl.el index 5927e3d..54da070 100644 --- a/elisp/geiser-repl.el +++ b/elisp/geiser-repl.el @@ -473,7 +473,7 @@ module command as a string") (geiser-repl--newline-and-indent) (insert "\n")))))) -(defun geiser-repl--tab (n) +(defun geiser-repl-tab-dwim (n) "If we're after the last prompt, complete symbol or indent (if there's no symbol at point). Otherwise, go to next error in the REPL buffer." @@ -511,7 +511,7 @@ buffer." (define-key geiser-repl-mode-map "\C-m" 'geiser-repl--maybe-send) (define-key geiser-repl-mode-map [return] 'geiser-repl--maybe-send) (define-key geiser-repl-mode-map "\C-j" 'geiser-repl--newline-and-indent) -(define-key geiser-repl-mode-map (kbd "TAB") 'geiser-repl--tab) +(define-key geiser-repl-mode-map (kbd "TAB") 'geiser-repl-tab-dwim) (define-key geiser-repl-mode-map [backtab] 'geiser-repl--previous-error) (define-key geiser-repl-mode-map "\C-a" 'geiser-repl--bol) |