projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cf89a3
)
emacs: Add notmuch-combine-face-text-property-string
author
Damien Cassou
<damien.cassou@gmail.com>
Sat, 23 Mar 2013 11:29:53 +0000
(12:29 +0100)
committer
David 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
patch
|
blob
|
history
diff --git
a/emacs/notmuch-lib.el
b/emacs/notmuch-lib.el
index 822387ddee860173a9022b2bdbf83e09c79119f7..f3ff3af586dfd2a2fe76a990711fcb1ac4d6d3f5 100644
(file)
--- 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.