Commit 6cad7ba3 authored by Jorgen Schaefer's avatar Jorgen Schaefer Committed by Stefan Monnier
Browse files

* lisp/minibuffer.el (completion--replace): Be careful that `end' might be

a marker.
parent 75273afb
2013-10-04 Jorgen Schaefer <>
* minibuffer.el (completion--replace): Be careful that `end' might be
a marker.
2013-10-03 Daiki Ueno <>
Add support for package signature checking.
......@@ -873,8 +873,9 @@ Moves point to the end of the new text."
(setq end (- end suffix-len))
(setq newtext (substring newtext 0 (- suffix-len))))
(goto-char beg)
(insert-and-inherit newtext)
(delete-region (point) (+ (point) (- end beg)))
(let ((length (- end beg))) ;Read `end' before we insert the text.
(insert-and-inherit newtext)
(delete-region (point) (+ (point) length)))
(forward-char suffix-len)))
(defcustom completion-cycle-threshold nil
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