I want to write a function in my init.el file that basically opens a file-browser minibuffer for the user (the standard one or the one from helm) and returns an absolute file name to be used in another function.


You're describing read-file-name (which will use different UIs depending on the user's configuration and/or whether he triggered the current command with the mouse or with the keyboard).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.