aboutsummaryrefslogtreecommitdiffhomepage
path: root/emacs/notmuch-lib.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/notmuch-lib.el')
-rw-r--r--emacs/notmuch-lib.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el
index 1e166c6a..9ad4ab1e 100644
--- a/emacs/notmuch-lib.el
+++ b/emacs/notmuch-lib.el
@@ -465,6 +465,14 @@ This replaces spaces, percents, and double quotes in STR with
(kill-new "")
(message "Nothing to stash!")))
+(defun notmuch-common-selective-display-string ()
+ "Determine the selective display string for the current buffer.
+This is usually `...', but it can be reset."
+ (display-table-slot (or (window-display-table)
+ buffer-display-table
+ standard-display-table)
+ 'selective-display))
+
;;
(defun notmuch-remove-if-not (predicate list)