branch: externals/substitute
commit 66f3ad93c257c90982767d163ed593e8c40fc6dd
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Wrap require for subr-x in 'eval-when-compile'
---
 substitute.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/substitute.el b/substitute.el
index 47f799cc57..a1170c829a 100644
--- a/substitute.el
+++ b/substitute.el
@@ -34,7 +34,8 @@
 ;;; Code:
 
 (require 'thingatpt)
-(require 'subr-x)
+(eval-when-compile (require 'subr-x))
+
 (defgroup substitute nil
   "Efficiently replace targets in the buffer or context."
   :group 'editing)

Reply via email to