From c5a512ce97f864ef9269fd510603c1ee1f894c7a Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Fri, 21 Dec 2018 21:14:02 +0100 Subject: Change unnecessary when-let* to when-let Thereby making the function work with Emacs 25. --- .emacs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.emacs') diff --git a/.emacs b/.emacs index d28abcf..226a17f 100644 --- a/.emacs +++ b/.emacs @@ -283,7 +283,7 @@ (car (project-roots project)))) (defun my/project-name () - (when-let* ((root (my/project-root))) + (when-let ((root (my/project-root))) (when (not (file-equal-p root "~")) (file-name-nondirectory (string-trim-right root "/"))))) -- cgit v1.2.3