Merge remote-tracking branch 'crybaby'
[profile] / dot / emacs
index b278d9a..8832f3f 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
      (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")))))))
 
 ;;;--------------------------------------------------------------------------