summaryrefslogtreecommitdiff
path: root/test/lisp
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2017-04-18 19:07:28 -0400
committerGlenn Morris <rgm@gnu.org>2017-04-18 19:07:28 -0400
commit0f8343394675480f18c121520eed2203bbe1d6ec (patch)
treeb81cc99b9128b7f3b429a25e29a4b63f39abe919 /test/lisp
parentd831312d668fbedeffe3711b13cd455309da84a1 (diff)
downloademacs-0f8343394675480f18c121520eed2203bbe1d6ec.tar.gz
emacs-0f8343394675480f18c121520eed2203bbe1d6ec.tar.bz2
emacs-0f8343394675480f18c121520eed2203bbe1d6ec.zip
Avoid unnecessary loading of subr-x at run-time
* lisp/doc-view.el, lisp/filenotify.el, lisp/info-look.el: * lisp/svg.el, lisp/emacs-lisp/byte-opt.el, lisp/net/shr.el: * lisp/textmodes/sgml-mode.el, test/lisp/dom-tests.el: No need to load subr-x at run-time. * lisp/gnus/nnheader.el: No need to load subr-x. ; * lisp/emacs-lisp/subr-x.el, lisp/gnus/message.el, lisp/net/nsm.el: ; Comments.
Diffstat (limited to 'test/lisp')
-rw-r--r--test/lisp/dom-tests.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/dom-tests.el b/test/lisp/dom-tests.el
index 09114bd794a..32d231a47e5 100644
--- a/test/lisp/dom-tests.el
+++ b/test/lisp/dom-tests.el
@@ -26,7 +26,7 @@
(require 'dom)
(require 'ert)
-(require 'subr-x)
+(eval-when-compile (require 'subr-x))
(defun dom-tests--tree ()
"Return a DOM tree for testing."