Skip to content

Instantly share code, notes, and snippets.

@krl
Created Mar 14, 2011
Embed
What would you like to do?
;; just redefine this to use ido-completing-read
(defun eudc-select (choices beg end)
(let ((replacement
(ido-completing-read "Multiple matches found; choose one: "
(mapcar 'list choices))))
(delete-region beg end)
(insert replacement)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment