From 774aea8eddb98ab3545ef74c669601c436a15bec Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 15 Oct 2017 13:30:10 +0200 Subject: feat: Switch from ido/smex to Helm --- init/functions.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init/functions.el') 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 -- cgit 1.4.1