From d84d55e6e4c239faafc4f4de5e0295a8b99e15af Mon Sep 17 00:00:00 2001 From: Alex Branham Date: Tue, 30 Oct 2018 16:59:05 -0500 Subject: [PATCH] Require subr-x at compile time () if-let and when-let are macros that the byte compiler can expand at compile time. No need to require subr-x at run time. * eglot.el (subr-x): Require only when compiling. GitHub-reference: https://github.com/joaotavora/eglot/issues/139 --- lisp/progmodes/eglot.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 297d6f4f0ea..a234e17c0b1 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -65,7 +65,8 @@ (require 'warnings) (require 'flymake) (require 'xref) -(require 'subr-x) +(eval-when-compile + (require 'subr-x)) (require 'jsonrpc) (require 'filenotify) (require 'ert) -- 2.39.2