From 86aafa7fe0c4888fb8cc41f6be3ec756b4eb7f73 Mon Sep 17 00:00:00 2001 From: djcb Date: Mon, 21 Oct 2013 23:17:35 +0300 Subject: [PATCH] * mu4e: don't error out if no empty lines are found --- mu4e/mu4e-utils.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mu4e/mu4e-utils.el b/mu4e/mu4e-utils.el index f7672975..f9aa287a 100644 --- a/mu4e/mu4e-utils.el +++ b/mu4e/mu4e-utils.el @@ -1088,7 +1088,7 @@ used in the view and compose modes." (save-excursion (let ((more-lines t)) (goto-char (point-min)) - (when (search-forward-regexp "^\n") ;; search the first empty line + (when (search-forward-regexp "^\n" nil t) ;; search the first empty line (while more-lines ;; Get the citation level at point -- i.e., the number of '>' ;; prefixes, starting with 0 for 'no citation'