Browse files

Merge pull request #148 from dajva/dajva/sudo-edit_patch

Bugfix in starter-kit: sudo-edit
  • Loading branch information...
2 parents 853a0f8 + 0e2d3af commit 31c2465712485a54aba6a3ef6d1bef9b564f8f37 @technomancy committed Sep 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 starter-kit-defuns.el
@@ -177,7 +177,7 @@ Symbols matching the text at point are put first in the completion list."
(load autoload-file))
(defun sudo-edit (&optional arg)
- (interactive "p")
+ (interactive "P")
(if (or arg (not buffer-file-name))
(find-file (concat "/sudo:root@localhost:" (ido-read-file-name "File: ")))
(find-alternate-file (concat "/sudo:root@localhost:" buffer-file-name))))

0 comments on commit 31c2465

Please sign in to comment.