diff options
| author | Aurelien Rouene <aurelien@rouene.fr> | 2026-03-05 23:33:55 +0100 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2026-03-15 07:47:01 +0900 |
| commit | 094744b3f6f5c6831b6555d1fe75709abf1d1279 (patch) | |
| tree | c907979e036c4ee404c9f67d50d7a27595d4d428 /util/string-util.c | |
| parent | 076d597308bef11bd0a13977c1d5516beed2ed4c (diff) | |
emacs: Switch mode before pop-to-buffer
When showing an email using notmuch-show-mode, set the mode
"notmuch-show-mode" before using "pop-to-buffer-same-window", to be
able to match on the major-mode with an entry in "display-buffer-alist".
Using the major mode is the the only mean to set display rules,
because the buffer title is set to the title of the email and is not fixed.
Signed-off-by: Aurelien Rouene <aurelien@rouene.fr>
Diffstat (limited to 'util/string-util.c')
0 files changed, 0 insertions, 0 deletions
