(buffer-substring (point) end))))
(point)))
(field-char (and (< field-end end) (char-after field-end)))
+ (base-position (list (+ start base-size) field-end))
(style completion--matching-style)
(exceptional-candidates
(or (not completions-exclude-exceptional-candidates)
:predicate cpred
:exceptional-candidates exceptional-candidates
:action action
- :base-position (list (+ start base-size) field-end)
+ :base-position base-position
:base-prefix base-prefix
:ignore-case completion-ignore-case
:insert-choice-function
(= (aref choice (1- (length choice)))
field-char))
(setq end (1+ end)))
- (cl-decf field-end (- end start (length choice)))
+ (cl-decf (nth 1 base-position) (- end start (length choice)))
;; FIXME: Use `md' to do quoting&terminator here.
- (completion--replace start end choice)
+ (completion--replace start (min end (point-max)) choice)
(let* ((minibuffer-completion-table ctable)
(minibuffer-completion-predicate cpred)
(completion-extra-properties cprops)