Commit 7a78ffec authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(icomplete-tidy, icomplete-exhibit): Bind deactivate-mark to nil.

parent e5319d36
2007-03-10 Johan Bockg,be(Brd <bojohan@dd.chalmers.se>
* icomplete.el (icomplete-tidy, icomplete-exhibit): Bind
deactivate-mark to nil.
2007-03-10 Martin Rudalics <rudalics@gmx.at>
 
* complete.el (PC-do-completion): Bind dirlength to nil to avoid
......@@ -219,7 +219,8 @@ and `minibuffer-setup-hook'."
(when (and icomplete-mode icomplete-eoinput)
(unless (>= icomplete-eoinput (point-max))
(let ((buffer-undo-list t)) ; prevent entry
(let ((buffer-undo-list t) ; prevent entry
deactivate-mark)
(delete-region icomplete-eoinput (point-max))))
;; Reestablish the safe value.
......@@ -256,7 +257,8 @@ and `minibuffer-setup-hook'."
minibuffer-completion-table
minibuffer-completion-predicate
(not minibuffer-completion-confirm)))))
(buffer-undo-list t))
(buffer-undo-list t)
deactivate-mark)
;; Do nothing if while-no-input was aborted.
(if (consp text) (insert (car text))))))))
......
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