emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/substitute 66f3ad93c2 3/3: Wrap require for subr-x in '


From: ELPA Syncer
Subject: [elpa] externals/substitute 66f3ad93c2 3/3: Wrap require for subr-x in 'eval-when-compile'
Date: Sun, 22 Jan 2023 10:58:31 -0500 (EST)

branch: externals/substitute
commit 66f3ad93c257c90982767d163ed593e8c40fc6dd
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@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

[Prev in Thread] Current Thread [Next in Thread]