diff options
author | Thanos Apollo <[email protected]> | 2024-08-03 19:26:51 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-08-03 19:26:51 +0300 |
commit | ba119ccb4d4cf07dc30e4a99bc9bef1ded8827af (patch) | |
tree | 47bdbb4670b5e72ea06a315e11f71f0e9e124972 /gnosis.el | |
parent | f56faf26bada1cf89da94fa140adb99c2d02bac0 (diff) |
New function: get-note-deck-name.
Diffstat (limited to 'gnosis.el')
-rw-r--r-- | gnosis.el | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -706,6 +706,11 @@ Set SPLIT to t to split all input given." "Return id for DECK name." (gnosis-get 'id 'decks `(= name ,deck))) +(defun gnosis-get-note-deck-name (id) + "Return deck name of note ID." + (let ((deck (gnosis-get 'deck-id 'notes `(= id ,id)))) + (gnosis--get-deck-name deck))) + (defun gnosis-get-deck--note (id &optional name) "Get deck id for note ID. |