summaryrefslogtreecommitdiff
path: root/elisp
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-11-22 04:22:45 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-11-22 04:22:45 +0100
commitaaa6df34a5472094afed19863eb02723dd0b763e (patch)
treee59a19a1d981378cb8d6534b962d9e9050521a05 /elisp
parentfaaa1b701b13333edb00d78080b232a78844874b (diff)
downloadgeiser-aaa6df34a5472094afed19863eb02723dd0b763e.tar.gz
geiser-aaa6df34a5472094afed19863eb02723dd0b763e.tar.bz2
Fix for geiser-smart-tab-mode
Diffstat (limited to 'elisp')
-rw-r--r--elisp/geiser-completion.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/elisp/geiser-completion.el b/elisp/geiser-completion.el
index 37d2dc6..bf0f036 100644
--- a/elisp/geiser-completion.el
+++ b/elisp/geiser-completion.el
@@ -269,8 +269,9 @@ With prefix, complete module name."
"Indent if at beginning of line or after a white space or
closing parenthesis, try completion otherwise."
(interactive)
- (let ((indent (or (bolp) (memq (syntax-class (syntax-after (1- (point))))
- '(0 5)))))
+ (let ((indent (or (bolp)
+ (not (memq (syntax-class (syntax-after (1- (point))))
+ '(2 3))))))
(if indent (indent-according-to-mode)
(geiser-completion--complete-symbol))))