diff options
Diffstat (limited to 'init/functions.el')
-rw-r--r-- | init/functions.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/functions.el b/init/functions.el index 6389931bc0b3..29d07f81120a 100644 --- a/init/functions.el +++ b/init/functions.el @@ -96,7 +96,7 @@ Including indent-buffer, which should not be called automatically on save." (defun esk-sudo-edit (&optional arg) (interactive "p") (if (or arg (not buffer-file-name)) - (find-file (concat "/sudo:root@localhost:" (ido-read-file-name "File: "))) + (find-file (concat "/sudo:root@localhost:" (read-file-name "File: "))) (find-alternate-file (concat "/sudo:root@localhost:" buffer-file-name)))) ;; Evaluate sexp and replace it with result |