diff options
| author | David Bremner <david@tethera.net> | 2024-08-10 14:36:25 -0300 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2025-03-13 07:56:05 -0300 |
| commit | d4e36a2df66868b921c49d1545f9f096b64459e1 (patch) | |
| tree | ceff2990187517778813abd9c3ca84cf5fedaa11 | |
| parent | 41d5e5956e4a01fda4bfe07a2897939b04606c51 (diff) | |
emacs/tree: add call to notmuch-hl-line-mode from process-filter
This removes the visual gap/stutter between when the screen fills and
when the hl-line "cursor" is drawn. It is not obviously how to
robustly test this, since it the observable effect is purely a matter
of timing.
| -rw-r--r-- | emacs/notmuch-tree.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/emacs/notmuch-tree.el b/emacs/notmuch-tree.el index 481b0b34..301ffd6e 100644 --- a/emacs/notmuch-tree.el +++ b/emacs/notmuch-tree.el @@ -1139,7 +1139,10 @@ object, and with the tree results buffer as the current buffer.") (goto-char (point-max)) (insert string)) (notmuch-sexp-parse-partial-list 'notmuch-tree-insert-forest-thread - results-buf))))) + results-buf)) + (with-current-buffer results-buf + (when notmuch-hl-line + (notmuch-hl-line-mode)))))) (defun notmuch-tree-worker (basic-query &optional query-context target open-target unthreaded oldest-first |
