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

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

[elpa] externals/denote-menu 4a1bbb38f8 11/15: remove all occurences of


From: ELPA Syncer
Subject: [elpa] externals/denote-menu 4a1bbb38f8 11/15: remove all occurences of `denote-get-path-by-id'
Date: Thu, 9 Mar 2023 11:00:08 -0500 (EST)

branch: externals/denote-menu
commit 4a1bbb38f841cfaf6ebd461b49f397ad7aac41e2
Author: Mohamed Suliman 
<mohamed@li-3c9a9ccc-27df-11b2-a85c-a71b79ca4f8d.ibm.com>
Commit: Mohamed Suliman 
<mohamed@li-3c9a9ccc-27df-11b2-a85c-a71b79ca4f8d.ibm.com>

    remove all occurences of `denote-get-path-by-id'
    
    This is because that function will only return a path if the file is a
    note file a la denote-file-is-note-p. But if we have a mixture of
    files in the denote directory, then they won't all be returned.
---
 denote-menu.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/denote-menu.el b/denote-menu.el
index 21326d3384..36c7a5111f 100644
--- a/denote-menu.el
+++ b/denote-menu.el
@@ -103,7 +103,7 @@ list entry following the defined form. Then updates the 
buffer."
  presented in the *Denote* buffer."
   (mapcar (lambda (entry)
             (let ((id (car entry)))
-              (file-name-nondirectory (denote-get-path-by-id id))))
+              (file-name-nondirectory (denote-menu-get-path-by-id id))))
           (funcall tabulated-list-entries)))
 
 (defun denote-menu--entries-to-paths ()



reply via email to

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