mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
(partial-completion-mode): In lambda for
`choose-completion-string-functions' use full function signature with 4 args, and move point to the end of the minibuffer only if arg `mini-p' is non-nil.
This commit is contained in:
parent
26f544d393
commit
d46104aeee
1 changed files with 3 additions and 1 deletions
|
|
@ -234,7 +234,9 @@ second TAB brings up the `*Completions*' buffer."
|
|||
(funcall
|
||||
(if partial-completion-mode 'add-hook 'remove-hook)
|
||||
'choose-completion-string-functions
|
||||
(lambda (&rest x) (goto-char (point-max)) nil))
|
||||
(lambda (choice buffer mini-p base-size)
|
||||
(if mini-p (goto-char (point-max)))
|
||||
nil))
|
||||
;; Build the env-completion and mapping table.
|
||||
(when (and partial-completion-mode (null PC-env-vars-alist))
|
||||
(setq PC-env-vars-alist
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue