diff options
author | Glenn Morris <[email protected]> | 2010-04-20 00:54:28 -0700 |
---|---|---|
committer | Glenn Morris <[email protected]> | 2010-04-20 00:54:28 -0700 |
commit | 0ca12598468ccdd32b8dc6c984bfc179b2dd30ad (patch) | |
tree | 2090afabe87b841d19629414498d0ae5ef3ffac6 /lisp/emacs-lisp | |
parent | d2c7b917066072d1780dfc8200bd749b3965f835 (diff) |
* emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/lisp.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/lisp.el b/lisp/emacs-lisp/lisp.el index da482e715b..54fa4d615c 100644 --- a/lisp/emacs-lisp/lisp.el +++ b/lisp/emacs-lisp/lisp.el @@ -627,9 +627,10 @@ considered." (let ((completion-annotate-function (plist-get plist :annotate-function))) (completion-in-region (nth 0 data) (nth 1 data) (nth 2 data) (plist-get plist :predicate))))) - + (defun lisp-completion-at-point (&optional predicate) + "Function used for `completion-at-point-functions' in `emacs-lisp-mode'." ;; FIXME: the `end' could be after point? (let* ((end (point)) (beg (with-syntax-table emacs-lisp-mode-syntax-table |