]> git.notmuchmail.org Git - notmuch/commitdiff
emacs: make subr-x available in all libraries
authorJonas Bernoulli <jonas@bernoul.li>
Sun, 10 Jan 2021 14:01:08 +0000 (15:01 +0100)
committerDavid Bremner <david@tethera.net>
Fri, 15 Jan 2021 10:47:10 +0000 (06:47 -0400)
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.

emacs/notmuch-draft.el
emacs/notmuch-lib.el
emacs/notmuch-message.el
emacs/notmuch-parser.el

index 2939da555690bb4ac0bc7a8b5c86a4167a611bce..a68b7d8da002a7f3f76b2ccded426bb465724de7 100644 (file)
@@ -27,6 +27,7 @@
 
 (require 'cl-lib)
 (require 'pcase)
+(require 'subr-x)
 
 (require 'notmuch-maildir-fcc)
 (require 'notmuch-tag)
index 6130309ab73aa425387517c9ae2fbcf246946b4b..05d3be10bb7e1d4cfd191f575087d8dc65c1e4c9 100644 (file)
@@ -23,6 +23,7 @@
 
 (require 'cl-lib)
 (require 'pcase)
+(require 'subr-x)
 
 (require 'mm-util)
 (require 'mm-view)
index b90c934af4856c49d6ff7c32a2f7c909f03abf14..0856a2e943e6e4cb38d38759d976a512651edb4b 100644 (file)
@@ -23,6 +23,7 @@
 
 (require 'cl-lib)
 (require 'pcase)
+(require 'subr-x)
 
 (require 'message)
 (require 'notmuch-tag)
index 9749a6be51bd6e2c6577d2d24e3112a014294de4..f04b07c2e51b28e34f03469b88205d279c45a587 100644 (file)
@@ -23,6 +23,7 @@
 
 (require 'cl-lib)
 (require 'pcase)
+(require 'subr-x)
 
 (defun notmuch-sexp-create-parser ()
   "Return a new streaming S-expression parser.