From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8D+vG0FBqF8xNgAA0tVLHw (envelope-from ) for ; Sun, 08 Nov 2020 19:04:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 4P53F0FBqF+YMwAAbx9fmQ (envelope-from ) for ; Sun, 08 Nov 2020 19:04:33 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E667E9402DD for ; Sun, 8 Nov 2020 19:04:32 +0000 (UTC) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id F224E28C45; Sun, 8 Nov 2020 14:03:47 -0500 (EST) Received: from mail.hostpark.net (mail.hostpark.net [212.243.197.30]) by mail.notmuchmail.org (Postfix) with ESMTPS id 0381827112 for ; Sun, 8 Nov 2020 14:03:14 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.hostpark.net (Postfix) with ESMTP id 2FAFC165EC for ; Sun, 8 Nov 2020 20:03:13 +0100 (CET) X-Virus-Scanned: by Hostpark/NetZone Mailprotection at hostpark.net Received: from mail.hostpark.net ([127.0.0.1]) by localhost (mail0.hostpark.net [127.0.0.1]) (amavisd-new, port 10124) with ESMTP id ROUhPVAGbh0K for ; Sun, 8 Nov 2020 20:03:12 +0100 (CET) Received: from customer (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.hostpark.net (Postfix) with ESMTPSA id EDDCE165C9 for ; Sun, 8 Nov 2020 20:03:11 +0100 (CET) From: Jonas Bernoulli To: notmuch@notmuchmail.org Subject: [PATCH 04/27] emacs: don't fset keymaps Date: Sun, 8 Nov 2020 20:02:48 +0100 Message-Id: <20201108190311.1397-5-jonas@bernoul.li> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201108190311.1397-1-jonas@bernoul.li> References: <20201108190311.1397-1-jonas@bernoul.li> MIME-Version: 1.0 Message-ID-Hash: UH3P6WZXKJBACUDRMUDYR6QRIK74KNNP X-Message-ID-Hash: UH3P6WZXKJBACUDRMUDYR6QRIK74KNNP X-MailFrom: jonas@bernoul.li X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Spam-Score: -0.01 X-TUID: 8GkxvuiX9uxQ These keymaps are never invoked as commands so the function definitions serve no purpose. --- emacs/notmuch-show.el | 1 - emacs/notmuch-tree.el | 1 - emacs/notmuch.el | 1 - 3 files changed, 3 deletions(-) diff --git a/emacs/notmuch-show.el b/emacs/notmuch-show.el index b08ceb97..ec22fd94 100644 --- a/emacs/notmuch-show.el +++ b/emacs/notmuch-show.el @@ -1485,7 +1485,6 @@ (defvar notmuch-show-mode-map (define-key map "B" 'notmuch-show-browse-urls) map) "Keymap for \"notmuch show\" buffers.") -(fset 'notmuch-show-mode-map notmuch-show-mode-map) (define-derived-mode notmuch-show-mode fundamental-mode "notmuch-show" "Major mode for viewing a thread with notmuch. diff --git a/emacs/notmuch-tree.el b/emacs/notmuch-tree.el index ea6a5cf3..ad08f7c6 100644 --- a/emacs/notmuch-tree.el +++ b/emacs/notmuch-tree.el @@ -361,7 +361,6 @@ (defvar notmuch-tree-mode-map (define-key map "e" 'notmuch-tree-resume-message) map) "Keymap for \"notmuch tree\" buffers.") -(fset 'notmuch-tree-mode-map notmuch-tree-mode-map) (defun notmuch-tree-get-message-properties () "Return the properties of the current message as a plist. diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 83bcee57..165aaa43 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -194,7 +194,6 @@ (defvar notmuch-search-mode-map (define-key map "U" 'notmuch-unthreaded-from-search-current-query) map) "Keymap for \"notmuch search\" buffers.") -(fset 'notmuch-search-mode-map notmuch-search-mode-map) (defvar notmuch-search-stash-map (let ((map (make-sparse-keymap))) -- 2.29.1