summaryrefslogtreecommitdiff
path: root/elisp/geiser-completion.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-05-24 05:00:58 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-05-24 05:00:58 +0200
commitf0ff37dc07075298043a8b5319867d355f41a773 (patch)
tree772d811e8f9f56d74d33fb65bce4b9318e83d0d7 /elisp/geiser-completion.el
parent185abd5871b99d3642ee43db0d8590e54d66f898 (diff)
downloadgeiser-guile-f0ff37dc07075298043a8b5319867d355f41a773.tar.gz
geiser-guile-f0ff37dc07075298043a8b5319867d355f41a773.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.el7
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 ()