diff options
author | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-10-31 15:13:19 +0100 |
---|---|---|
committer | Jose Antonio Ortega Ruiz <jao@gnu.org> | 2010-10-31 15:13:19 +0100 |
commit | dff681a7e5641f350c0d18c178b7401e75b107d6 (patch) | |
tree | 0c21b72a07c328ca910b0245d7c2db3e1f94ffb2 /elisp/geiser-completion.el | |
parent | e57b89e952cd050f746033a0d40a817211fb5be1 (diff) | |
download | geiser-guile-dff681a7e5641f350c0d18c178b7401e75b107d6.tar.gz geiser-guile-dff681a7e5641f350c0d18c178b7401e75b107d6.tar.bz2 |
Always fallback to edit-module in M-.
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))) |