From 8e638a639aadf9d4f822e9dbd0023ab8066d3947 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Mon, 8 Jun 2026 20:26:35 +0300 Subject: [PATCH] mu4e: fix byte-compile warnings --- mu4e/mu4e-compose.el | 6 ++---- mu4e/mu4e-org.el | 1 + 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/mu4e/mu4e-compose.el b/mu4e/mu4e-compose.el index 2a15c12a..8dfd8f2c 100644 --- a/mu4e/mu4e-compose.el +++ b/mu4e/mu4e-compose.el @@ -329,17 +329,15 @@ buffers; lets remap its faces so it uses the ones for mu4e." "Return a cited version of the message MSG (a string). If REGION is non-nil, cite it instead of MSG' body. This function uses `message-cite-function', and its settings apply." - (let ((orig (mu4e--compose-message-text msg))) + (let ((orig (mu4e-view-message-text msg))) (with-temp-buffer (insert orig) (goto-char (point-min)) - - ;; if have a region, replace the body with it. + ;; if we have a region, replace the body with it. (save-excursion (when (and region (re-search-forward "\n\n" nil 'noerror)) (delete-region (point) (point-max)) (insert region))) - (push-mark (point-max)) (let ((message-signature-separator "^-- *$") (message-signature-insert-empty-line t)) diff --git a/mu4e/mu4e-org.el b/mu4e/mu4e-org.el index 2ee6ab8e..d4403b63 100644 --- a/mu4e/mu4e-org.el +++ b/mu4e/mu4e-org.el @@ -28,6 +28,7 @@ ;;; Code: (require 'org) +(require 'org-element) (require 'tabulated-list) (require 'mu4e-view) (require 'mu4e-contacts)