1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-14 16:50:58 +00:00

(completion-setup-function): Fix last change to use

minibuffer-completing-file-name instead.
This commit is contained in:
Stefan Monnier 2002-12-02 22:24:34 +00:00
parent 45adde3246
commit 2d64b6f696

View File

@ -3922,8 +3922,7 @@ The completion list buffer is available as the value of `standard-output'.")
(completion-list-mode)
(make-local-variable 'completion-reference-buffer)
(setq completion-reference-buffer mainbuf)
(if (memq minibuffer-completion-table
'(ffap-read-file-or-url-internal read-file-name-internal))
(if minibuffer-completing-file-name
;; For file name completion,
;; use the number of chars before the start of the
;; last file name component.