Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bugfix in starter-kit: sudo-edit

Should use capital "P" as interactive argument here.
  • Loading branch information...
commit 0e2d3afd75bc0b7a76336737459b39ce6535e4c8 1 parent 853a0f8
@dajva authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  starter-kit-defuns.el
View
2  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))))
Please sign in to comment.
Something went wrong with that request. Please try again.