1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(completion-pcm-try-completion): Typo.

This commit is contained in:
Stefan Monnier 2008-04-30 04:48:27 +00:00
parent 81ff94589d
commit b00942d090

View file

@ -1289,7 +1289,7 @@ PATTERN is as returned by `completion-pcm--string->pattern'."
;; the last place where there's something to choose, or
;; at the very end.
(pointpat (or (memq 'point mergedpat) (memq 'any mergedpat)
margedpat))
mergedpat))
;; New pos from the start.
(newpos (length (completion-pcm--pattern->string pointpat)))
;; Do it afterwards because it changes `pointpat' by sideeffect.