]> git.notmuchmail.org Git - notmuch/commitdiff
emacs: Add notmuch-combine-face-text-property-string
authorDamien Cassou <damien.cassou@gmail.com>
Sat, 23 Mar 2013 11:29:53 +0000 (12:29 +0100)
committerDavid Bremner <bremner@unb.ca>
Mon, 25 Mar 2013 15:38:29 +0000 (11:38 -0400)
Signed-off-by: Damien Cassou <damien.cassou@gmail.com>
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.