summaryrefslogtreecommitdiff
path: root/elisp/geiser-completion.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-02-27 22:55:44 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-02-27 22:55:44 +0100
commit8b58137cd07966b34d5812e22b4f9239a7e93fd6 (patch)
tree091792154b94cf581587837e0d84fb1f1738cc54 /elisp/geiser-completion.el
parent0b7fbcf0bb64d5ede412f6e57e7b873c40f067f1 (diff)
downloadgeiser-8b58137cd07966b34d5812e22b4f9239a7e93fd6.tar.gz
geiser-8b58137cd07966b34d5812e22b4f9239a7e93fd6.tar.bz2
Whitespace.
Diffstat (limited to 'elisp/geiser-completion.el')
-rw-r--r--elisp/geiser-completion.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/elisp/geiser-completion.el b/elisp/geiser-completion.el
index 60b288e..9efe89f 100644
--- a/elisp/geiser-completion.el
+++ b/elisp/geiser-completion.el
@@ -1,6 +1,6 @@
;;; geiser-completion.el -- tab completion
-;; Copyright (C) 2009 Jose Antonio Ortega Ruiz
+;; Copyright (C) 2009, 2010 Jose Antonio Ortega Ruiz
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the Modified BSD License. You should
@@ -137,7 +137,8 @@ terminates a current completion."
(defun geiser-completion--symbol-list (prefix)
(delete-duplicates
(append (all-completions prefix
- (mapcar 'symbol-name (geiser-syntax--locals-around-point)))
+ (mapcar 'symbol-name
+ (geiser-syntax--locals-around-point)))
(geiser-eval--send/result `(:eval ((:ge completions) ,prefix))))
:test 'string=))
@@ -240,7 +241,8 @@ closing parenthesis, try completion otherwise."
(interactive)
(let ((indent (or (bolp) (memq (syntax-class (syntax-after (1- (point))))
'(0 5)))))
- (if indent (indent-according-to-mode) (geiser-completion--complete-symbol))))
+ (if indent (indent-according-to-mode)
+ (geiser-completion--complete-symbol))))
(define-minor-mode geiser-smart-tab-mode
"Toggle smart tab mode.