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 | 42afea9f3c60485947696929b68017f7a4706614 (patch) | |
tree | 6b759f3c22e04ffbb27a41753165d115bc206c73 /elisp | |
parent | ed75b2ba044ab1361a37f3c7440f34332fb603d9 (diff) | |
download | geiser-42afea9f3c60485947696929b68017f7a4706614.tar.gz geiser-42afea9f3c60485947696929b68017f7a4706614.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) |