diff options
author | jao <jao@gnu.org> | 2022-01-10 23:37:01 +0000 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-01-10 23:37:01 +0000 |
commit | 11a1cd1dcef0489859a04961f9cebf88174f38bb (patch) | |
tree | 0667970d9e67e4ba98e7c85a4884b2762c91f512 /lib | |
parent | 25ae57058383ea58a8c77e709f3509fd64a47afe (diff) | |
download | elibs-11a1cd1dcef0489859a04961f9cebf88174f38bb.tar.gz elibs-11a1cd1dcef0489859a04961f9cebf88174f38bb.tar.bz2 |
notmuch: obsolete code removed
Diffstat (limited to 'lib')
-rw-r--r-- | lib/net/jao-notmuch.el | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/lib/net/jao-notmuch.el b/lib/net/jao-notmuch.el index f11556e..4714367 100644 --- a/lib/net/jao-notmuch.el +++ b/lib/net/jao-notmuch.el @@ -1,6 +1,6 @@ ;;; jao-notmuch.el --- Extensions for notmuch -*- lexical-binding: t; -*- -;; Copyright (C) 2021 jao +;; Copyright (C) 2021, 2022 jao ;; Author: jao <mail@jao.io> ;; Keywords: mail @@ -86,11 +86,10 @@ (interactive) (if (not (jao-notmuch-tree--looking-at-message)) (jao-notmuch-tree-show-or-scroll t) - (if (notmuch-tree-scroll-message-window) - (jao-notmuch-tree-next nil) - (when (not (window-live-p notmuch-tree-message-window)) - (notmuch-tree-show-message nil))) - (jao-notmuch--tree-update-buffer-name))) + (if (notmuch-tree-scroll-message-window) + (jao-notmuch-tree-next nil) + (when (not (window-live-p notmuch-tree-message-window)) + (notmuch-tree-show-message nil))))) (defun jao-notmuch-tree-show-or-scroll (force) "Show current message, or scroll it if visible." @@ -99,8 +98,7 @@ (window-live-p notmuch-tree-message-window) (jao-notmuch-tree--looking-at-message)) (scroll-other-window 1) - (notmuch-tree-show-message nil) - (jao-notmuch--tree-update-buffer-name))) + (notmuch-tree-show-message nil))) (notmuch-tree--define-do-in-message-window jao-notmuch-tree-end-of-buffer @@ -183,8 +181,7 @@ (when (jao-notmuch-goto-message-buffer nil t) (goto-char (point-min)) (jao-notmuch--toggle-mime) - (jao-notmuch-goto-tree-buffer t) - (jao-notmuch--tree-update-buffer-name))) + (jao-notmuch-goto-tree-buffer t))) (defvar-local jao-notmuch--showing-images nil) |