Created
June 9, 2009 23:08
-
-
Save diasjorge/126886 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun insert-path () | |
"Inserts a path into the buffer with completion" | |
(interactive) | |
(insert (expand-file-name (read-file-name "Path: ")))) | |
(defun insert-path (file) | |
"insert file" | |
(interactive "FPath: ") | |
(insert (expand-file-name file))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment