Fix eww-mu4e-messages

This commit is contained in:
Alexander Rosenberg 2024-08-27 18:41:01 -07:00
parent 7b473511a1
commit 3e3d590490
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -4,7 +4,7 @@
(princ
(condition-case _
(if-let ((modeline-string (server-eval-at "server" '(mu4e--modeline-string)))
((string-match "\\([0-9]+\\)\\((\\+1)\\)?/[0-9]+ $" modeline-string))
((string-match "\\([0-9]+\\)\\((\\+[0-9]+)\\)?/[0-9]+ $" modeline-string))
(matched-string (match-string 1 modeline-string)))
(progn
(set-text-properties 0 (length matched-string)