diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-05-24 05:00:58 +0200 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-05-24 05:00:58 +0200 |
commit | 0e94dc1eb7b8a482ac4a460282e29041864669bd (patch) | |
tree | d9bf41798a71556df084681786887f68a365ad7c /elisp/geiser-completion.el | |
parent | 0498321758e52ad04eb2af062e1baa1e70fceda3 (diff) | |
download | geiser-0e94dc1eb7b8a482ac4a460282e29041864669bd.tar.gz geiser-0e94dc1eb7b8a482ac4a460282e29041864669bd.tar.bz2 |
Elisp: misc little bugs (revealed by the byte compiler) fixed.
Diffstat (limited to 'elisp/geiser-completion.el')
-rw-r--r-- | elisp/geiser-completion.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/elisp/geiser-completion.el b/elisp/geiser-completion.el index 09c021f..b58b6be 100644 --- a/elisp/geiser-completion.el +++ b/elisp/geiser-completion.el @@ -101,9 +101,10 @@ terminates a current completion." (get-buffer-window geiser-completion--comp-buffer))))) (defun geiser-completion--display-or-scroll (completions base) - (cond ((and (eq last-command this-command) (geiser-completion--window-active-p)) - (geiser-completion--scroll-completions)) - (t (geiser-completion--display-comp-list completions base))) + (if (and (eq last-command this-command) + (geiser-completion--window-active-p)) + (geiser-completion--scroll-completions) + (geiser-completion--display-comp-list completions base)) (geiser-completion--delay-restoration)) (defun geiser-completion--scroll-completions () |