Skip to content

getting wrong-type-argument commandp error  #418

@theSafdarAwan

Description

@theSafdarAwan

i am getting this error when trying to execute command this is the config

(defhydra hydra-org-roam (:color pink :hint nil)
        "
        ^Node Actions^     ^Buffer^                   ^Journal^                    ^Capture
        ^^^^^^^^----------------------------------------------------------------------------------------------
        _f_: Find node     _b t_: Buffer toggle        _j t_: Today's Journal       _c c_: Capture Choose Node
        _i_: Insert Node   _b d_: Dedicated buffer     _j T_: Tomorrow's Journal    _c t_: Capture for Todays
        ^ ^                _b r_: Refresh Buffer       _j y_: Yesterday's Journal   _c T_: Capture for Tomorrow
        "
        ;; node
        ("f" org-roam-node-find nil)
        ("i" org-roam-node-insert nil)

        ;; buffer
        ("b t" org-roam-buffer-toggle nil)
        ("b d" org-roam-buffer-display-dedicated nil)
        ("b r" org-roam-buffer-refresh nil)

        ;; capture
        ("c c" org-roam-capture nil)
        ("c t" org-roam-dailies-capture-today nil)
        ("c T" org-roam-dailies-capture-tomorrow nil)

        ;; journal
        ("j t" org-roam-dailies-goto-today nil)
        ("j T" org-roam-dailies-goto-tomorrow nil)
        ("j y" org-roam-dailies-goto-yesterday nil))
        (global-set-key (kbd "C-c o") 'hydra-org-roam/body)

Error

 Debugger entered--Lisp error: (wrong-type-argument commandp hydra- org-roam/body)
  call-interactively(hydra-org-roam/body nil nil)
  command-execute(hydra-org-roam/body)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions