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:
parent
d2c7b91706
commit
0ca1259846
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user