Browse files

Bugfix in starter-kit: sudo-edit

Should use capital "P" as interactive argument here.
  • Loading branch information...
1 parent 853a0f8 commit 0e2d3afd75bc0b7a76336737459b39ce6535e4c8 David Landell committed Sep 7, 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 0e2d3af

Please sign in to comment.