Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

Bugfix in starter-kit: sudo-edit
  • Loading branch information...
commit 31c2465712485a54aba6a3ef6d1bef9b564f8f37 2 parents 853a0f8 + 0e2d3af
@technomancy 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.