From 11a1cd1dcef0489859a04961f9cebf88174f38bb Mon Sep 17 00:00:00 2001 From: jao Date: Mon, 10 Jan 2022 23:37:01 +0000 Subject: notmuch: obsolete code removed --- lib/net/jao-notmuch.el | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'lib') 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 ;; 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) -- cgit v1.2.3