org-insert-link: Use ido when inserting links
commit7f096ad379b1322311ee38101638fcf970422254
authorTony Day <zygomega@gmail.com>
Fri, 12 Oct 2012 03:39:53 +0000 (12 14:39 +1100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Sat, 13 Oct 2012 10:27:02 +0000 (13 12:27 +0200)
tree3b339ac20a7e967b80e8bdbb761f84b07ac47a12
parent56470de26df3fd6813df3246287ef7f6c5581b7b
org-insert-link: Use ido when inserting links

org.el (org-insert-link): Remove a list within the list of link
creation that causes a bug when using ido.  Remove the hard coded
iswitch and ido switches.

(org-iread-file-name): Create a function that can use
ido-read-file-name if flagged as ok.

(org-file-complete-link): Reference org-iread-file-name.
lisp/org.el