From 9a8231ca35c6b4e9e8aa4ab143054ca7fe495aa8 Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Sun, 17 Jun 2018 22:45:59 +0800 Subject: [PATCH] Fix: when-let for Emacs26. --- doom-modeline.el | 1 + 1 file changed, 1 insertion(+) diff --git a/doom-modeline.el b/doom-modeline.el index 6719708..8d67dd6 100644 --- a/doom-modeline.el +++ b/doom-modeline.el @@ -51,6 +51,7 @@ (require 'shrink-path) (when (>= emacs-major-version 26) + (require 'subr-x) (defalias 'when-let 'when-let*)) (eval-and-compile