branch: externals/denote commit 61e672f4922b017b4347b8268ec0f0874c9fecb5 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Replace needless 'when-let*' with 'when-let' This should address the bug reported by hpgisler in issue 62 on the GitHub mirror: <https://github.com/protesilaos/denote/issues/62>. --- denote-dired.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/denote-dired.el b/denote-dired.el index fde25df671..d990169ee4 100644 --- a/denote-dired.el +++ b/denote-dired.el @@ -214,7 +214,7 @@ old name followed by the new one. This applies to the command (defun denote-dired--rename-buffer (old-name new-name) "Rename OLD-NAME buffer to NEW-NAME, when appropriate." - (when-let* ((buffer (find-buffer-visiting old-name))) + (when-let ((buffer (find-buffer-visiting old-name))) (with-current-buffer buffer (set-visited-file-name new-name nil t))))