* lisp/thread.el, lisp/net/nsm.el, lisp/erc/erc.el:
Don't require subr-x at runtime.
(require 'thingatpt)
(require 'auth-source)
(require 'erc-compat)
-(require 'subr-x)
+(eval-when-compile (require 'subr-x))
(defvar erc-official-location
"https://www.emacswiki.org/emacs/ERC (mailing list: erc-discuss@gnu.org)"
(require 'cl-lib)
(require 'rmc) ; read-multiple-choice
-(require 'subr-x)
+(eval-when-compile (require 'subr-x))
(defvar nsm-permanent-host-settings nil)
(defvar nsm-temporary-host-settings nil)
(require 'cl-lib)
(require 'backtrace)
(require 'pcase)
-(require 'subr-x)
+(eval-when-compile (require 'subr-x))
;;;###autoload
(defun thread-handle-event (event)