]> git.eshelyaron.com Git - emacs.git/commitdiff
Remove useless requires of subr-x at runtime
authorGlenn Morris <rgm@gnu.org>
Mon, 10 Sep 2018 18:55:14 +0000 (14:55 -0400)
committerGlenn Morris <rgm@gnu.org>
Mon, 10 Sep 2018 18:55:14 +0000 (14:55 -0400)
* lisp/thread.el, lisp/net/nsm.el, lisp/erc/erc.el:
Don't require subr-x at runtime.

lisp/erc/erc.el
lisp/net/nsm.el
lisp/thread.el

index 8c4da32e83e593a05e410685a2000d6d72725542..fc510096419a8cb13a58c4bb9826293caebcf3bf 100644 (file)
@@ -75,7 +75,7 @@
 (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)"
index dab9003e023bc1aa1934296175669bf71f646571..9eb914e107f782290af09bda4cbeb0d4c78486ce 100644 (file)
@@ -26,7 +26,7 @@
 
 (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)
index 1c5dccf5ce4d8642293ae864e205906213c36f1e..199fac279e33bf56cbb51734c562052cf0fefc17 100644 (file)
@@ -28,7 +28,7 @@
 (require 'cl-lib)
 (require 'backtrace)
 (require 'pcase)
-(require 'subr-x)
+(eval-when-compile (require 'subr-x))
 
 ;;;###autoload
 (defun thread-handle-event (event)