* mu4e-view.el: fix mu4e~view-fontify-cited
This commit is contained in:
@ -547,6 +547,7 @@ Seen; if the message is not New/Unread, do nothing."
|
|||||||
(save-excursion
|
(save-excursion
|
||||||
(let ((more-lines t))
|
(let ((more-lines t))
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
|
(when (search-forward-regexp "^\n") ;; search the first empty line
|
||||||
(while more-lines
|
(while more-lines
|
||||||
;; Get the citation level at point -- i.e., the number of '>'
|
;; Get the citation level at point -- i.e., the number of '>'
|
||||||
;; prefixes, starting with 0 for 'no citation'
|
;; prefixes, starting with 0 for 'no citation'
|
||||||
@ -564,7 +565,7 @@ Seen; if the message is not New/Unread, do nothing."
|
|||||||
;; we need to add this weird check below; it seems in some cases
|
;; we need to add this weird check below; it seems in some cases
|
||||||
;; `forward-line' continues to return 0, even when at the end, which
|
;; `forward-line' continues to return 0, even when at the end, which
|
||||||
;; would lead to an infinite loop
|
;; would lead to an infinite loop
|
||||||
(not (= (point-max) (line-end-position)))))))))
|
(not (= (point-max) (line-end-position))))))))))
|
||||||
|
|
||||||
(defun mu4e~view-fontify-footer ()
|
(defun mu4e~view-fontify-footer ()
|
||||||
"Give the message footers a distinctive color."
|
"Give the message footers a distinctive color."
|
||||||
|
|||||||
Reference in New Issue
Block a user