diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-11-22 04:22:45 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-11-22 04:22:45 +0100 |
commit | aaa6df34a5472094afed19863eb02723dd0b763e (patch) | |
tree | e59a19a1d981378cb8d6534b962d9e9050521a05 /elisp | |
parent | faaa1b701b13333edb00d78080b232a78844874b (diff) | |
download | geiser-aaa6df34a5472094afed19863eb02723dd0b763e.tar.gz geiser-aaa6df34a5472094afed19863eb02723dd0b763e.tar.bz2 |
Fix for geiser-smart-tab-mode
Diffstat (limited to 'elisp')
-rw-r--r-- | elisp/geiser-completion.el | 5 |
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)))) |