emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/denote 61e672f492: Replace needless 'when-let*' with 'w


From: ELPA Syncer
Subject: [elpa] externals/denote 61e672f492: Replace needless 'when-let*' with 'when-let'
Date: Sun, 24 Jul 2022 10:57:31 -0400 (EDT)

branch: externals/denote
commit 61e672f4922b017b4347b8268ec0f0874c9fecb5
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@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))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]