Mercurial > emacs
view etc/images/low-color/copy.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 | 45a69ccc2f35 |
children |
line wrap: on
line source
/* XPM */ static char * copy_xpm[] = { "24 24 6 1", " c None", ". c #000100", "+ c #BBBDBA", "@ c #FFFFFF", "# c #6B6B66", "$ c #504D46", " ", " ", " ", "............. ", ".+@@@@@@@@@@+. ", ".@@@@@@@@@@@@. ", ".@+###@+#@#+@. ", ".@@@@@@@@@@@@. ", ".@#$@##+@............ ", ".@@@@@@@.+@@@@@@@@@@+. ", ".@+##@##.@@@@@@@@@@@@. ", ".@@@@@@@.@+##+@+#@#+@. ", ".@#$$@##.@@@@@@@@@@@@. ", ".@@@@@@@.@##@##+@+#@@. ", ".@+##@##.@@@@@@@@@@@@. ", ".@@@@@@@.@+##@##+@+#@. ", ".+@@@@@@.@@@@@@@@@@@@. ", " ........@###@##+@+#@. ", " .@@@@@@@@@@@@. ", " .@+##@##+@+#@. ", " .@@@@@@@@@@@@. ", " .+@@@@@@@@@@+. ", " .............. ", " "};