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

getting wrong-type-argument commandp error #418

Open
theSafdarAwan opened this issue Jun 4, 2023 · 1 comment
Open

getting wrong-type-argument commandp error #418

theSafdarAwan opened this issue Jun 4, 2023 · 1 comment

Comments

@theSafdarAwan
Copy link

theSafdarAwan commented Jun 4, 2023

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)
@theSafdarAwan theSafdarAwan changed the title wrong-type-argument commandp hydra-org-roam/body) call-interactively(hydra-org-roam/body nil nil) command-execute(hydra-org-roam/body) getting wrong-type-argument commandp error Jun 4, 2023
@theSafdarAwan
Copy link
Author

sorry by removing the (:color pink :hint nil) code now it works fine but i want to know why wasn't this was causing the error.

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

No branches or pull requests

1 participant