[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/mentor 218579c35d 2/3: Require subr-x when compiling
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/mentor 218579c35d 2/3: Require subr-x when compiling |
Date: |
Sun, 30 Oct 2022 11:59:06 -0400 (EDT) |
branch: elpa/mentor
commit 218579c35dba752b10ef7a1fc66425c514c10c39
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>
Require subr-x when compiling
This fixes compatibility with Emacs older than 27.1.
---
mentor.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mentor.el b/mentor.el
index 4d8e975823..a264a526fe 100644
--- a/mentor.el
+++ b/mentor.el
@@ -46,8 +46,8 @@
;;; Code:
-(eval-when-compile
- (require 'sort))
+(eval-when-compile (require 'sort))
+(eval-when-compile (require 'subr-x)) ; for `string-join' (on Emacs 26)
(require 'async)
(require 'cl-lib)