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

(completion--try-word-completion): Don't ignore

partial-completion if it's the only style.
This commit is contained in:
Stefan Monnier 2008-11-29 02:39:19 +00:00
parent e93bc1426f
commit a231a45f50
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
* minibuffer.el (completion--try-word-completion): Don't ignore
partial-completion if it's the only style.
2008-11-28 Juanma Barranquero <lekktu@gmail.com>
* emacs-lisp/re-builder.el (reb-auto-update): Remove redundant code.

View File

@ -625,7 +625,8 @@ If `minibuffer-completion-confirm' is `confirm-after-completion',
(after (substring string point))
;; Disable partial-completion for this.
(completion-styles
(remove 'partial-completion completion-styles))
(or (remove 'partial-completion completion-styles)
completion-styles))
tem)
(while (and exts (not (consp tem)))
(setq tem (completion-try-completion