(require 'dired)
(require 'image-mode)
(require 'jka-compr)
-(require 'subr-x)
+(eval-when-compile (require 'subr-x))
;;;; Customization Options
(require 'bytecomp)
(eval-when-compile (require 'cl-lib))
(require 'macroexp)
-(require 'subr-x)
+(eval-when-compile (require 'subr-x))
(defun byte-compile-log-lap-1 (format &rest args)
;; Newer byte codes for stack-ref make the slot 0 non-nil again.
;; Do not document these functions in the lispref.
;; http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01006.html
+;; NB If you want to use this library, it's almost always correct to use:
+;; (eval-when-compile (require 'subr-x))
+
;;; Code:
(require 'pcase)
;;; Code:
(require 'cl-lib)
-(require 'subr-x)
+(eval-when-compile (require 'subr-x))
(defconst file-notify--library
(cond
(require 'mm-util)
(require 'rfc2047)
(require 'puny)
-(require 'subr-x)
+(require 'subr-x) ; read-multiple-choice
(autoload 'mailclient-send-it "mailclient")
(require 'mail-utils)
(require 'mm-util)
(require 'gnus-util)
-(require 'subr-x)
(autoload 'gnus-range-add "gnus-range")
(autoload 'gnus-remove-from-range "gnus-range")
;; FIXME none of these are used explicitly in this file.
;;; Code:
(require 'info)
-(require 'subr-x)
+(eval-when-compile (require 'subr-x))
(defgroup info-lookup nil
"Major mode sensitive help agent."
;;; Code:
(require 'cl-lib)
-(require 'subr-x)
+(require 'subr-x) ; read-multiple-choice
(defvar nsm-permanent-host-settings nil)
(defvar nsm-temporary-host-settings nil)
(eval-when-compile (require 'cl))
(eval-when-compile (require 'url)) ;For url-filename's setf handler.
(require 'browse-url)
-(require 'subr-x)
+(eval-when-compile (require 'subr-x))
(require 'dom)
(require 'seq)
(require 'svg)
(require 'cl-lib)
(require 'xml)
(require 'dom)
-(require 'subr-x)
+(eval-when-compile (require 'subr-x))
(defun svg-create (width height &rest args)
"Create a new, empty SVG image with dimensions WIDTHxHEIGHT.
(require 'dom)
(require 'seq)
-(require 'subr-x)
+(eval-when-compile (require 'subr-x))
(eval-when-compile
(require 'skeleton)
(require 'cl-lib))
(require 'dom)
(require 'ert)
-(require 'subr-x)
+(eval-when-compile (require 'subr-x))
(defun dom-tests--tree ()
"Return a DOM tree for testing."