diff options
author | Benjamin Barenblat <bbaren@mit.edu> | 2014-10-20 13:58:59 -0400 |
---|---|---|
committer | Benjamin Barenblat <bbaren@mit.edu> | 2014-10-20 14:05:17 -0400 |
commit | d5a49a857b4986dec2a0a6c90f701bc09ebcf81d (patch) | |
tree | 1ba151001c57b990dc91c1ec1c9bf862a1d86a7a /emacs/notmuch-tree.el | |
parent | dd8373fb571f93cf3bf824777e00278979ef2e21 (diff) |
Emacs has a slot in its display table, 'selective-display, which it uses
to store the character(s) it displays when text gets elided. This
commit ensures notmuch does not assume that string is ‘...’ – instead,
notmuch examines the display table and bases computations on its actual
contents.
Diffstat (limited to 'emacs/notmuch-tree.el')
-rw-r--r-- | emacs/notmuch-tree.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/notmuch-tree.el b/emacs/notmuch-tree.el index e859cc24..19c35ee4 100644 --- a/emacs/notmuch-tree.el +++ b/emacs/notmuch-tree.el @@ -669,7 +669,7 @@ unchanged ADDRESS if parsing fails." (setq notmuch-tree-previous-subject bare-subject) (propertize (format format-string (if (string= previous-subject bare-subject) - " ..." + (concat " " selective-display-string) bare-subject)) 'face face))) |