[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote-menu 52ebd5eae4 04/15: fix custom filter example
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote-menu 52ebd5eae4 04/15: fix custom filter example |
Date: |
Thu, 9 Mar 2023 11:00:06 -0500 (EST) |
branch: externals/denote-menu
commit 52ebd5eae4b396192e8d994c7d7cef1ade5a52c6
Author: Mohamed Suliman <sulimanm@tcd.ie>
Commit: Mohamed Suliman <sulimanm@tcd.ie>
fix custom filter example
---
README.org | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/README.org b/README.org
index a6734e478b..0f7eb6015b 100644
--- a/README.org
+++ b/README.org
@@ -92,10 +92,10 @@ There are two ways to define your own filters:
desired denote files, then your filter function would look something like
the following:
#+begin_src emacs-lisp
(defun my/denote-menu-filter-custom ()
- (let ((my-matching-denote-paths
(do-some-filtering-of-tabulated-list-entries-blah-blah)))
- (setq tabulated-list-entries (lambda () (mapcar
#'denote-menu--path-to-entry my-matching-denote-files)))
+ (interactive)
+ (let ((my-matching-denote-paths
'("/home/namilus/zettelkasten/20220719T135304--this-is-my-first-note__meta.org")))
+ (setq tabulated-list-entries (lambda () (mapcar
#'denote-menu--path-to-entry my-matching-denote-paths)))
(revert-buffer)))
-
#+end_src
** Clearing filters
To clear the filters and revert back to the
- [elpa] branch externals/denote-menu created (now c9cb089bfa), ELPA Syncer, 2023/03/09
- [elpa] externals/denote-menu 05d6d38ee1 02/15: README, screenshots, and fixes, ELPA Syncer, 2023/03/09
- [elpa] externals/denote-menu 52ebd5eae4 04/15: fix custom filter example,
ELPA Syncer <=
- [elpa] externals/denote-menu 7ca56a3cfe 05/15: remove copyright and screenshot, ELPA Syncer, 2023/03/09
- [elpa] externals/denote-menu aa92fc2f98 06/15: fix screenshot, ELPA Syncer, 2023/03/09
- [elpa] externals/denote-menu d8121e610c 09/15: Make 'list-denotes' alias of 'denote-menu-list-notes', ELPA Syncer, 2023/03/09
- [elpa] externals/denote-menu f901a2dba5 08/15: fix denote get path by id, ELPA Syncer, 2023/03/09
- [elpa] externals/denote-menu 5bc393e6d2 03/15: README typo, ELPA Syncer, 2023/03/09
- [elpa] externals/denote-menu 8a490728de 10/15: Change tone of doc strings, ELPA Syncer, 2023/03/09
- [elpa] externals/denote-menu f73afbdacb 13/15: fix list-denotes alias and typo in README, ELPA Syncer, 2023/03/09
- [elpa] externals/denote-menu 3bd7cf7d12 01/15: initial commit, ELPA Syncer, 2023/03/09
- [elpa] externals/denote-menu 6a2cde289b 07/15: add denote requirement, ELPA Syncer, 2023/03/09
- [elpa] externals/denote-menu 4a1bbb38f8 11/15: remove all occurences of `denote-get-path-by-id', ELPA Syncer, 2023/03/09