diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-03-01 01:13:33 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2009-03-01 01:13:33 +0100 |
commit | 7e5f31f4ca0a8cd66f2fae4fc6a5112f082bb184 (patch) | |
tree | a31ac5947e69c67b94a0bf58d0799b6607a257f5 /elisp | |
parent | 85c8afb66c970003f8fe4155fae3f089aca3b346 (diff) | |
download | geiser-7e5f31f4ca0a8cd66f2fae4fc6a5112f082bb184.tar.gz geiser-7e5f31f4ca0a8cd66f2fae4fc6a5112f082bb184.tar.bz2 |
Completion for symbols without enclosing sexp in scheme buffers.
Diffstat (limited to 'elisp')
-rw-r--r-- | elisp/geiser-completion.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/elisp/geiser-completion.el b/elisp/geiser-completion.el index 3605ed5..c5db8b6 100644 --- a/elisp/geiser-completion.el +++ b/elisp/geiser-completion.el @@ -197,8 +197,8 @@ terminates a current completion." (defsubst geiser-completion--beg-pos (module) (if module (max (save-excursion (beginning-of-line) (point)) - (save-excursion (skip-syntax-backward "^(") (1- (point)))) - (save-excursion (skip-syntax-backward "^-()") (point)))) + (save-excursion (skip-syntax-backward "^(>") (1- (point)))) + (save-excursion (skip-syntax-backward "^-()>") (point)))) (defun geiser-completion--complete-symbol (&optional arg) "Complete the symbol at point. |