about summary refs log tree commit diff
path: root/init/functions.el
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2017-10-15T11·30+0200
committerVincent Ambo <tazjin@gmail.com>2017-10-15T11·30+0200
commit774aea8eddb98ab3545ef74c669601c436a15bec (patch)
tree06eed6f4a4a8e7b28debe254372a7cd2cf878662 /init/functions.el
parentbc12439cf730b79194cdd48ea41150c4ea917ac6 (diff)
feat: Switch from ido/smex to Helm
Diffstat (limited to 'init/functions.el')
-rw-r--r--init/functions.el2
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