summaryrefslogtreecommitdiff
path: root/elisp/geiser-completion.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2009-03-01 01:13:33 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2009-03-01 01:13:33 +0100
commit7e5f31f4ca0a8cd66f2fae4fc6a5112f082bb184 (patch)
treea31ac5947e69c67b94a0bf58d0799b6607a257f5 /elisp/geiser-completion.el
parent85c8afb66c970003f8fe4155fae3f089aca3b346 (diff)
downloadgeiser-7e5f31f4ca0a8cd66f2fae4fc6a5112f082bb184.tar.gz
geiser-7e5f31f4ca0a8cd66f2fae4fc6a5112f082bb184.tar.bz2
Completion for symbols without enclosing sexp in scheme buffers.
Diffstat (limited to 'elisp/geiser-completion.el')
-rw-r--r--elisp/geiser-completion.el4
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.