pkg update and first config fix

org-brain not working, add org-roam
This commit is contained in:
2022-12-19 23:02:34 +01:00
parent 02b3e07185
commit 82f05baffe
885 changed files with 356098 additions and 36993 deletions

View File

@@ -99,14 +99,15 @@ This uses `org-read-date', which see."
(org-read-date nil t nil prompt))))
(defun ledger-get-minibuffer-prompt (prompt default)
"Return a string composing of PROMPT and DEFAULT appropriate for a minibuffer prompt."
"Return a minibuffer prompt string composing PROMPT and DEFAULT."
(concat prompt
(if default
(concat " (" default "): ")
": ")))
(defun ledger-completing-read-with-default (prompt default collection)
"Return a user supplied string after PROMPT, or DEFAULT while providing completions from COLLECTION."
"Return a user-supplied string after PROMPT.
Use the given DEFAULT, while providing completions from COLLECTION."
(completing-read (ledger-get-minibuffer-prompt prompt default)
collection nil nil nil 'ledger-minibuffer-history default))