mirror of
https://github.com/djcb/mu.git
synced 2024-06-21 06:56:48 +02:00
* mu4e-proc: hide some headers
This commit is contained in:
parent
a8fc9cd82f
commit
a019041400
|
@ -523,6 +523,10 @@ Gnus' `message-mode'."
|
|||
;; headers and body. will be removed before saving to disk
|
||||
(mu4e~compose-insert-mail-header-separator)
|
||||
(insert "\n") ;; insert a newline after header separator
|
||||
|
||||
;; hide headers
|
||||
(message-hide-headers)
|
||||
|
||||
;; include files -- e.g. when forwarding a message with attachments,
|
||||
;; we take those from the original.
|
||||
(save-excursion
|
||||
|
@ -535,11 +539,9 @@ Gnus' `message-mode'."
|
|||
(unless (eq compose-type 'edit)
|
||||
(when message-signature
|
||||
(message-insert-signature)))
|
||||
|
||||
|
||||
;; set compose mode -- so now hooks can run
|
||||
(mu4e-compose-mode)
|
||||
(message-hide-headers)
|
||||
|
||||
|
||||
;; buffer is not user-modified yet
|
||||
(mu4e~compose-set-friendly-buffer-name compose-type)
|
||||
|
|
Loading…
Reference in New Issue
Block a user