diff options
| author | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2018-12-21 21:14:02 +0100 |
|---|---|---|
| committer | Kévin Le Gouguec <kevin.legouguec@gmail.com> | 2018-12-21 21:14:02 +0100 |
| commit | c5a512ce97f864ef9269fd510603c1ee1f894c7a (patch) | |
| tree | 1414cf1f7069dc4fa6c21ded41b61142655b1942 /.emacs | |
| parent | 27c0223cece3c1cbd4b9c060f36545e45d03e591 (diff) | |
| download | dotfiles-c5a512ce97f864ef9269fd510603c1ee1f894c7a.tar.xz | |
Change unnecessary when-let* to when-let
Thereby making the function work with Emacs 25.
Diffstat (limited to '.emacs')
| -rw-r--r-- | .emacs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 "/"))))) |
