mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 12:21:25 -08:00
(ffap-complete-as-file-p): Use minibuffer-completing-file-name.
This commit is contained in:
parent
4c86cca05a
commit
9925c4191b
1 changed files with 1 additions and 3 deletions
|
|
@ -1240,9 +1240,7 @@ which may actually result in an url rather than a filename."
|
|||
;; Note: t and non-nil mean somewhat different reasons.
|
||||
(if (eq minibuffer-completion-table 'ffap-read-file-or-url-internal)
|
||||
(not (ffap-url-p (buffer-string))) ; t
|
||||
(memq minibuffer-completion-table
|
||||
'(read-file-name-internal read-directory-name-internal)) ; list
|
||||
))
|
||||
(and minibuffer-completing-file-name '(t)))) ;list
|
||||
|
||||
(and
|
||||
(featurep 'complete)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue