]> git.notmuchmail.org Git - notmuch/blobdiff - emacs/notmuch-lib.el
emacs: Add notmuch-combine-face-text-property-string
[notmuch] / emacs / notmuch-lib.el
index 822387ddee860173a9022b2bdbf83e09c79119f7..f3ff3af586dfd2a2fe76a990711fcb1ac4d6d3f5 100644 (file)
@@ -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.