branch: elpa/mentor
commit 218579c35dba752b10ef7a1fc66425c514c10c39
Author: Stefan Kangas <stefankan...@gmail.com>
Commit: Stefan Kangas <stefankan...@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)

Reply via email to