Skip to content

Add autoload to the function responsible for dynamic blocks #481

Open
@lhernanz

Description

@lhernanz

OS/platform

MacOS

Emacs version and provenance

Emacs 29

Emacs command

emacs

Org version and provenance

9.7.17

org-ql package version and provenance

20241107.345

Actions taken

  • open emacs
  • autoload org-ql using the instructions in the github page
    (use-package org-ql :after org)
  • try to expand a dynamic block

Observed results

org-update-dblock: Symbol’s function definition is void: org-dblock-write:org-ql

Loading org-ql-search manually solves the problem and makes the dynamic block to work, so this is not a path problem

Expected results

The dynamic block should execute even if org-ql has not been loaded before. It seems to be missing an autoload statement

Backtrace

No response

Etc.

No response

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions