Commit da0bed93 authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(PC-do-completion): Fix leftover bug from Emacs-21 when

the prompt was added to the minibuffer.
parent fa047ae7
2008-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
* complete.el (PC-do-completion): Fix leftover bug from Emacs-21 when
the prompt was added to the minibuffer.
2008-12-02 Glenn Morris <rgm@gnu.org>
 
* format.el (format-write-file): Rewrite doc yet again.
......
......@@ -799,7 +799,8 @@ GOTO-END is non-nil, however, it instead replaces up to END."
(if improved
;; We changed it... would it be complete without the space?
(if (test-completion (buffer-substring 1 (1- end))
(if (test-completion (buffer-substring
(field-beginning) (1- end))
table pred)
(delete-region (1- end) end)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment