mirror of
https://github.com/org-roam/org-roam
synced 2025-08-01 12:17:21 -05:00
When dynamic binding `org-roam-directory` to the "dailies/" subdirectory also bind `org-roam-dailies-directory` to "./" to prevent invalid expansions in user-defined hook functions. Fixes #2070
This commit is contained in:
@ -17,6 +17,7 @@
|
|||||||
- [#2065](https://github.com/org-roam/org-roam/pull/2065) dailies: add `keys` argument to the remaining dailies functions `org-roam-dailies-goto-yesterday`/`-today`/`-tomorrow`/`-date` and `org-roam-dailies-capture-yesterday`/`-tomorrow`/`-date` to give the abilty to get into a capture buffer bypassing the selection screen in all dailies commands. Extension of #2055
|
- [#2065](https://github.com/org-roam/org-roam/pull/2065) dailies: add `keys` argument to the remaining dailies functions `org-roam-dailies-goto-yesterday`/`-today`/`-tomorrow`/`-date` and `org-roam-dailies-capture-yesterday`/`-tomorrow`/`-date` to give the abilty to get into a capture buffer bypassing the selection screen in all dailies commands. Extension of #2055
|
||||||
### Removed
|
### Removed
|
||||||
### Fixed
|
### Fixed
|
||||||
|
- [#2080](https://github.com/org-roam/org-roam/pull/2080) dailies: prevent multiple "dailies/" subdir expansions
|
||||||
- [#2055](https://github.com/org-roam/org-roam/pull/2055) dailies: removed stray f require, which was causing require and compilation errors
|
- [#2055](https://github.com/org-roam/org-roam/pull/2055) dailies: removed stray f require, which was causing require and compilation errors
|
||||||
### Changed
|
### Changed
|
||||||
- [#2060](https://github.com/org-roam/org-roam/pull/2060) node: added double acute accent normalization for Unicode characters in titles
|
- [#2060](https://github.com/org-roam/org-roam/pull/2060) node: added double acute accent normalization for Unicode characters in titles
|
||||||
|
@ -329,7 +329,8 @@ When GOTO is non-nil, go the note without creating an entry.
|
|||||||
|
|
||||||
ELisp programs can set KEYS to a string associated with a template.
|
ELisp programs can set KEYS to a string associated with a template.
|
||||||
In this case, interactive selection will be bypassed."
|
In this case, interactive selection will be bypassed."
|
||||||
(let ((org-roam-directory (expand-file-name org-roam-dailies-directory org-roam-directory)))
|
(let ((org-roam-directory (expand-file-name org-roam-dailies-directory org-roam-directory))
|
||||||
|
(org-roam-dailies-directory "./"))
|
||||||
(org-roam-capture- :goto (when goto '(4))
|
(org-roam-capture- :goto (when goto '(4))
|
||||||
:keys keys
|
:keys keys
|
||||||
:node (org-roam-node-create)
|
:node (org-roam-node-create)
|
||||||
|
Reference in New Issue
Block a user