Fix eww-mu4e-messages
This commit is contained in:
parent
c9a999f5a2
commit
a6fa3120d6
@ -2,13 +2,16 @@
|
|||||||
;;; -*- mode: emacs-lisp; lexical-binding: t -*-
|
;;; -*- mode: emacs-lisp; lexical-binding: t -*-
|
||||||
(require 'server)
|
(require 'server)
|
||||||
(princ
|
(princ
|
||||||
(if-let ((modeline-string (server-eval-at "server" '(mu4e--modeline-string)))
|
(condition-case _
|
||||||
((string-match "\\([0-9]+\\)\\((\\+1)\\)?/[0-9]+ $" modeline-string))
|
(if-let ((modeline-string (server-eval-at "server" '(mu4e--modeline-string)))
|
||||||
(matched-string (match-string 1 modeline-string)))
|
((string-match "\\([0-9]+\\)\\((\\+1)\\)?/[0-9]+ $" modeline-string))
|
||||||
(progn
|
(matched-string (match-string 1 modeline-string)))
|
||||||
(set-text-properties 0 (length matched-string)
|
(progn
|
||||||
nil
|
(set-text-properties 0 (length matched-string)
|
||||||
matched-string)
|
nil
|
||||||
matched-string)
|
matched-string)
|
||||||
"0"))
|
matched-string)
|
||||||
|
"0")
|
||||||
|
(error
|
||||||
|
"0")))
|
||||||
(terpri)
|
(terpri)
|
||||||
|
Loading…
Reference in New Issue
Block a user