chiark
/
gitweb
/
~mdw
/
profile
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dot/emacs: Use `sudo' for local editing.
[profile]
/
dot
/
emacs
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")))))))
;;;--------------------------------------------------------------------------