In emacs, the following defines a function that, when invoked interactively, prompts the user for a file name:
(defun do-something (filename )
(interactive "FFilename: ")
...
)
When a user enters a file name, he can use tabs, etc. Does anyone know if there are any hooks in this file input code? In particular, I would like to modify the find-file command so that symbolic links to windows (which appear as "foo.lnk") automatically follow their target if you click on the tab.
I am currently using w32-symlinks , which means that at least if I click on the link, it will open the target in diredit. But I would rather be able to simply execute a tab on the file I'm looking at, instead of opening diredit and then doing the second find-file command.
source
share