mirror of https://github.com/djcb/mu.git
Merge pull request #1627 from haji-ali/misc-fixes
mu4e: updater info-handler and compose
This commit is contained in:
commit
89ab9f7351
|
@ -314,8 +314,8 @@ Message-ID."
|
|||
(mu4e~compose-set-friendly-buffer-name)
|
||||
(mu4e~draft-insert-mail-header-separator)
|
||||
;; hide some headers again
|
||||
(mu4e~compose-hide-headers)
|
||||
(widen)
|
||||
(mu4e~compose-hide-headers)
|
||||
(set-buffer-modified-p nil)
|
||||
(mu4e-message "Saved (%d lines)" (count-lines (point-min) (point-max)))
|
||||
;; update the file on disk -- ie., without the separator
|
||||
|
|
|
@ -655,8 +655,9 @@ process."
|
|||
(zerop (plist-get info :updated)))
|
||||
(mu4e~request-contacts-maybe))
|
||||
(when (and (buffer-live-p mainbuf) (get-buffer-window mainbuf))
|
||||
(select-window (get-buffer-window mainbuf))
|
||||
(mu4e~main-view 'refresh)))))
|
||||
(save-window-excursion
|
||||
(select-window (get-buffer-window mainbuf))
|
||||
(mu4e~main-view 'refresh))))))
|
||||
((plist-get info :message)
|
||||
(mu4e-index-message "%s" (plist-get info :message))))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue