commit c5a512ce97f864ef9269fd510603c1ee1f894c7a
parent 27c0223cece3c1cbd4b9c060f36545e45d03e591
Author: KΓ©vin Le Gouguec <kevin.legouguec@gmail.com>
Date: Fri, 21 Dec 2018 21:14:02 +0100
Change unnecessary when-let* to when-let
Thereby making the function work with Emacs 25.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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 "/")))))