aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2021-01-10 15:01:08 +0100
committerDavid Bremner <david@tethera.net>2021-01-15 06:47:10 -0400
commitf3d6fa2e40c45c3dbaef768e36f1544248851ddb (patch)
tree4b4e28a2a88282d8e249206f7b728aa21fed0c08
parent9ca1f945d9f5030600dc14ffff10d4dad14db4ca (diff)
emacs: make subr-x available in all libraries
Like `cl-lib' and `pcase', which are already available in all libraries, `subr-x' also provided many useful functions that we would like to use. Making `subr-x' available in every library from the get-go means that we can use the functions it defines without having to double check every single time, whether the feature is already available in the current library.
-rw-r--r--emacs/notmuch-draft.el1
-rw-r--r--emacs/notmuch-lib.el1
-rw-r--r--emacs/notmuch-message.el1
-rw-r--r--emacs/notmuch-parser.el1
4 files changed, 4 insertions, 0 deletions
diff --git a/emacs/notmuch-draft.el b/emacs/notmuch-draft.el
index 2939da55..a68b7d8d 100644
--- a/emacs/notmuch-draft.el
+++ b/emacs/notmuch-draft.el
@@ -27,6 +27,7 @@
(require 'cl-lib)
(require 'pcase)
+(require 'subr-x)
(require 'notmuch-maildir-fcc)
(require 'notmuch-tag)
diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el
index 6130309a..05d3be10 100644
--- a/emacs/notmuch-lib.el
+++ b/emacs/notmuch-lib.el
@@ -23,6 +23,7 @@
(require 'cl-lib)
(require 'pcase)
+(require 'subr-x)
(require 'mm-util)
(require 'mm-view)
diff --git a/emacs/notmuch-message.el b/emacs/notmuch-message.el
index b90c934a..0856a2e9 100644
--- a/emacs/notmuch-message.el
+++ b/emacs/notmuch-message.el
@@ -23,6 +23,7 @@
(require 'cl-lib)
(require 'pcase)
+(require 'subr-x)
(require 'message)
(require 'notmuch-tag)
diff --git a/emacs/notmuch-parser.el b/emacs/notmuch-parser.el
index 9749a6be..f04b07c2 100644
--- a/emacs/notmuch-parser.el
+++ b/emacs/notmuch-parser.el
@@ -23,6 +23,7 @@
(require 'cl-lib)
(require 'pcase)
+(require 'subr-x)
(defun notmuch-sexp-create-parser ()
"Return a new streaming S-expression parser.