aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorGlenn Morris <[email protected]>2010-04-20 00:54:28 -0700
committerGlenn Morris <[email protected]>2010-04-20 00:54:28 -0700
commit0ca12598468ccdd32b8dc6c984bfc179b2dd30ad (patch)
tree2090afabe87b841d19629414498d0ae5ef3ffac6 /lisp/emacs-lisp
parentd2c7b917066072d1780dfc8200bd749b3965f835 (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.el3
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