chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2e60c7f
)
dot/emacs: Use `sudo' for local editing.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 4 Jun 2011 12:57:27 +0000
(13:57 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 4 Jun 2011 13:21:48 +0000
(14:21 +0100)
dot/emacs
patch
|
blob
|
blame
|
history
diff --git
a/dot/emacs
b/dot/emacs
index b278d9a613040a45f1e5ffbd20a3e5ea89333785..8832f3f71b41d3e9d95e8ea57c217dd1f3aa8397 100644
(file)
--- a/
dot/emacs
+++ b/
dot/emacs
@@
-602,8
+602,9
@@
(setq tramp-default-method "ssh")
(setq tramp-default-method-alist
`(("\\`\\(localhost\\|\\)\\'" ""
(setq tramp-default-method "ssh")
(setq tramp-default-method-alist
`(("\\`\\(localhost\\|\\)\\'" ""
- ,(cond ((executable-find "become") "become")
- ((executable-find "really") "really")
+ ,(cond ((executable-find "really") "really")
+ ((executable-find "become") "become")
+ ((executable-find "sudo") "sudo")
(t "su")))))))
;;;--------------------------------------------------------------------------
(t "su")))))))
;;;--------------------------------------------------------------------------