diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-10-31 15:53:12 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-10-31 15:53:12 +0100 |
commit | ffd0a91a136909c4ed481184073e868ae886e230 (patch) | |
tree | 23dcbe372eaeee9c3029315254e41882a8026d42 /elisp/geiser-completion.el | |
parent | 449a5c9a05feed4f743d98172f78b250c6258d7a (diff) | |
parent | 9325189d4b3cfa2207c015b4f60cf397089edc9f (diff) | |
download | geiser-guile-ffd0a91a136909c4ed481184073e868ae886e230.tar.gz geiser-guile-ffd0a91a136909c4ed481184073e868ae886e230.tar.bz2 |
Merge branch 'master' into guile-meta
Diffstat (limited to 'elisp/geiser-completion.el')
-rw-r--r-- | elisp/geiser-completion.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/elisp/geiser-completion.el b/elisp/geiser-completion.el index 5c2f604..d346190 100644 --- a/elisp/geiser-completion.el +++ b/elisp/geiser-completion.el @@ -214,6 +214,11 @@ we're looking for a module name.") (defsubst geiser-completion--symbol-begin (module) (funcall geiser-completion--symbol-begin-function module)) +(defun geiser-completion--module-at-point () + (save-excursion + (goto-char (geiser-completion--symbol-begin t)) + (ignore-errors (thing-at-point 'sexp)))) + (defsubst geiser-completion--prefix (module) (buffer-substring-no-properties (geiser-completion--symbol-begin module) (point))) |