mirror of
https://github.com/djcb/mu.git
synced 2024-06-30 08:01:07 +02:00
* mu4e-compose.el: mark the message-separator as read-only, and fontify it
This commit is contained in:
parent
fd8e0f3166
commit
90f43084e6
|
@ -231,7 +231,9 @@ and the body starts. Note, in `mu4e-compose-mode, we use
|
||||||
separator is never written to file. Also see
|
separator is never written to file. Also see
|
||||||
`mu4e-remove-mail-header-separator'."
|
`mu4e-remove-mail-header-separator'."
|
||||||
(save-excursion
|
(save-excursion
|
||||||
(let ((sepa (propertize mail-header-separator 'intangible t)))
|
(let ((sepa (propertize mail-header-separator
|
||||||
|
'intangible t 'read-only t
|
||||||
|
'font-lock-face 'mu4e-system-face)))
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
;; search for the first empty line
|
;; search for the first empty line
|
||||||
(if (search-forward-regexp "^$" nil t)
|
(if (search-forward-regexp "^$" nil t)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user