Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow org-ql-refile to handle values for org-refile-targets where the symbol in a given cons cell has a variable value #488

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

apc
Copy link

@apc apc commented Feb 12, 2025

This fixes #487. We simply add a test to make sure files-spec has a function value before applying funcall to it, and handle the case where files-spec has a variable value separately.

apc added 2 commits February 11, 2025 21:03
…efile-targets`

As per the documentation of `org-refile-targets`, each specification of the files in a given cons cell can be a list of files "or a symbol whose function or variable value will be used..." This ensures `org-refile-targets` can handle the case where the specification is a symbol with a variable value.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

org-ql-refile makes assumptions about org-refile-targets that conflict with the latter's docstring
1 participant