mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-05 11:45:45 +00:00
(completion-pcm--merge-try): Also consider placing point after a star, if
that's the only place where modifications can make progress.
This commit is contained in:
parent
35639eb45f
commit
25b5462738
@ -1,3 +1,9 @@
|
||||
2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
|
||||
|
||||
* minibuffer.el (completion-pcm--merge-try): Also consider placing
|
||||
point after a star, if that's the only place where modifications can
|
||||
make progress.
|
||||
|
||||
2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
|
||||
|
||||
* vc-dir.el (vc-dir): Use the correct markup for showing keymaps
|
||||
|
@ -1984,7 +1984,9 @@ filter out additional entries (because TABLE migth not obey PRED)."
|
||||
;; order of preference) either at the old point, or at
|
||||
;; the last place where there's something to choose, or
|
||||
;; at the very end.
|
||||
(pointpat (or (memq 'point mergedpat) (memq 'any mergedpat)
|
||||
(pointpat (or (memq 'point mergedpat)
|
||||
(memq 'any mergedpat)
|
||||
(memq 'star mergedpat)
|
||||
mergedpat))
|
||||
;; New pos from the start.
|
||||
(newpos (length (completion-pcm--pattern->string pointpat)))
|
||||
|
Loading…
Reference in New Issue
Block a user