Skip to content

Commit

Permalink
[Emacs] Fix org-msg usage of email signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
david-alvarez-rosa committed Jun 1, 2023
1 parent 9a93412 commit abded50
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .config/emacs/README.org
Original file line number Diff line number Diff line change
Expand Up @@ -2327,7 +2327,12 @@ Configure Org Msg that automatically writes HTML emails when needed.
org-msg-default-alternatives '((new . (text))
(reply-to-html . (text html))
(reply-to-text . (text)))
org-msg-convert-citation t))
org-msg-convert-citation t)
;; https://github.com/jeremy-compostella/org-msg/pull/152
(setq mu4e-compose-signature-auto-include nil)
(defun dalvrosa/set-org-msg-signature (type alternatives)
(setq org-msg-signature (f-read-text message-signature-file)))
(advice-add 'org-msg-composition-parameters :before 'dalvrosa/set-org-msg-signature))
#+end_src

** Attachment Management
Expand Down
7 changes: 6 additions & 1 deletion .config/emacs/init.el
Original file line number Diff line number Diff line change
Expand Up @@ -976,7 +976,12 @@
org-msg-default-alternatives '((new . (text))
(reply-to-html . (text html))
(reply-to-text . (text)))
org-msg-convert-citation t))
org-msg-convert-citation t)
;; https://github.com/jeremy-compostella/org-msg/pull/152
(setq mu4e-compose-signature-auto-include nil)
(defun dalvrosa/set-org-msg-signature (type alternatives)
(setq org-msg-signature (f-read-text message-signature-file)))
(advice-add 'org-msg-composition-parameters :before 'dalvrosa/set-org-msg-signature))

(setq mu4e-attachment-dir "~/Downloads")

Expand Down

0 comments on commit abded50

Please sign in to comment.