(setq newtext (substring newtext 0 (- suffix-len))))
(goto-char beg)
(let ((length (- end beg))) ;Read `end' before we insert the text.
- (insert-before-markers-and-inherit newtext)
+ (insert-and-inherit newtext)
(delete-region (point) (+ (point) length)))
(forward-char suffix-len)))
minibuffer-completion-table
minibuffer-completion-predicate
(buffer-substring (point) end))))
- (point-marker)))
+ (point)))
(field-char (and (< field-end end) (char-after field-end)))
(style completion--matching-style)
(exceptional-candidates
(= (aref choice (1- (length choice)))
field-char))
(setq end (1+ end)))
+ (cl-decf field-end (- end start (length choice)))
;; FIXME: Use `md' to do quoting&terminator here.
(completion--replace start end choice)
(let* ((minibuffer-completion-table ctable)