diff options
author | Damien Cassou <damien.cassou@gmail.com> | 2013-03-23 12:29:53 +0100 |
---|---|---|
committer | David Bremner <bremner@unb.ca> | 2013-03-25 11:38:29 -0400 |
commit | 4ea80dd2a105ae5d57742b7f44951d1826463fa9 (patch) | |
tree | d2bb55991cfb90c31b231dbe927b4acb39bc5a23 /emacs/notmuch-lib.el | |
parent | 9cf89a3c049bce8374333ad69d97e78a6c6d8b2d (diff) |
emacs: Add notmuch-combine-face-text-property-string
Signed-off-by: Damien Cassou <damien.cassou@gmail.com>
Diffstat (limited to 'emacs/notmuch-lib.el')
-rw-r--r-- | emacs/notmuch-lib.el | 8 |
1 files changed, 8 insertions, 0 deletions
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. |