From: Damien Cassou Date: Sat, 23 Mar 2013 11:29:53 +0000 (+0100) Subject: emacs: Add notmuch-combine-face-text-property-string X-Git-Tag: 0.16_rc1~181 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=4ea80dd2a105ae5d57742b7f44951d1826463fa9 emacs: Add notmuch-combine-face-text-property-string Signed-off-by: Damien Cassou --- diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el index 822387dd..f3ff3af5 100644 --- a/emacs/notmuch-lib.el +++ b/emacs/notmuch-lib.el @@ -355,6 +355,14 @@ OBJECT." (setq pos next)))) object) +(defun notmuch-combine-face-text-property-string (string face &optional below) + (notmuch-combine-face-text-property + 0 + (length string) + face + below + string)) + (defun notmuch-logged-error (msg &optional extra) "Log MSG and EXTRA to *Notmuch errors* and signal MSG.