1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-21 18:23:59 +00:00

* emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.

This commit is contained in:
Glenn Morris 2010-04-20 00:54:28 -07:00
parent d2c7b91706
commit 0ca1259846
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2010-04-20 Glenn Morris <rgm@gnu.org>
* emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
* minibuffer.el (completion-at-point): Doc fix.
2010-04-18 Chong Yidong <cyd@stupidchicken.com>

View File

@ -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