summaryrefslogtreecommitdiffhomepage
path: root/custom
diff options
context:
space:
mode:
Diffstat (limited to 'custom')
-rw-r--r--custom/jao-custom-email.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/custom/jao-custom-email.el b/custom/jao-custom-email.el
index aaaf856..534b342 100644
--- a/custom/jao-custom-email.el
+++ b/custom/jao-custom-email.el
@@ -180,7 +180,7 @@
(when (require 'randomsig nil t)
(define-key message-mode-map (kbd "C-c s") 'randomsig-replace-sig)
(define-key message-mode-map (kbd "C-c S") 'randomsig-select-sig)
- (setq randomsig-dir (expand-file-name "~/etc/config/emacs"))
+ (setq randomsig-dir gnus-home-directory)
(setq randomsig-files '("signatures.txt"))
;; or (setq randomsig-files (randomsig-search-sigfiles))
;; or (setq randomsig-files 'randomsig-search-sigfiles)
@@ -219,12 +219,14 @@
(defun jao-sendmail-msmtp ()
(setq send-mail-function 'sendmail-send-it
- sendmail-program "/usr/bin/msmtp"
+ sendmail-program (executable-find "msmtp")
mail-specify-envelope-from t
message-sendmail-envelope-from 'header
mail-envelope-from 'header))
-(jao-when-linux (jao-sendmail-local))
+(jao-d-l
+ (jao-sendmail-msmtp)
+ (jao-sendmail-local))
;;; bbdb
;; (jao-load-path "bbdb/lisp")