X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/5694bdf24c167150fc0cc475f230e20ad2c74fbb..94e3dae355ff33f8d142f072577193c5c358df99:/dot/emacs diff --git a/dot/emacs b/dot/emacs index 6d873dd..8832f3f 100644 --- a/dot/emacs +++ b/dot/emacs @@ -142,6 +142,7 @@ (setq message-signature-separator "^-- \\(\\|\\[mdw\\]\\)$" message-yank-prefix "> " message-yank-cited-prefix "> " + message-send-mail-function 'message-send-mail-with-sendmail message-indent-citation-function '(message-indent-citation mdw-trim-spaces-after-citing)) @@ -601,8 +602,9 @@ (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"))))))) ;;;--------------------------------------------------------------------------