Mercurial > emacs
view etc/images/low-color/search.xpm @ 107250:13dafa175b9c
Fix in-buffer completion when after-change-functions modify the buffer.
* minibuffer.el (completion--replace): New function.
(completion--do-completion): Use it and use relative movement.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sat, 27 Feb 2010 16:21:43 -0500 |
parents | 28718fa5d988 |
children |
line wrap: on
line source
/* XPM */ static char * search2_xpm[] = { "24 24 6 1", " c None", ". c #FFFFFF", "+ c #BBBDBA", "@ c #000100", "# c #6B6B66", "$ c #504D46", " ", " @@@@@@@@@@@@@ ", " @+..........+$@ ", " @...........+++@ ", " @...........+..+@ ", " @...........+...#@ ", " @...........+...++@ ", " @....+$@@$+.+@@@@@@@ ", " @...+$+++#$+.++++##@ ", " @...$+..++#$..++++#@ ", " @...@+.++++@+...++#@ ", " @...@++++++@++...+#@ ", " @...$#+++++$++....#@ ", " @...+$#+++@@++....+@ ", " @...+#$@@$#@@+....+@ ", " @....++++++@@@+++++@ ", " @....++++++#@@@++++@ ", " @.....++++++#@@@+++@ ", " @..........++#@@+++@ ", " @..........++++++++@ ", " @+...+.+.+.++++++++@ ", " @+++++++++++++#####@ ", " @@@@@@@@@@@@@@@@@@ ", " "};