Skip to content

How to use :show-help when defining a new prefix? #309

Closed Answered by tarsius
Munksgaard asked this question in Q&A
Discussion options

You must be logged in to vote

The error message is due to a defect in your code that has nothing to do with Transient:

(lambda (obj) (debug (obj))
==error==> (void-function obj)

obj is in "function position" and thus called as a function, but there is no function named obj here, just a variable by that name.

What you probably wanted to do is:

:show-help (lambda (obj) (message "Let's test what obj looks like: %S" obj))

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by Munksgaard
Comment options

You must be logged in to vote
2 replies
@tarsius
Comment options

@Munksgaard
Comment options

Comment options

You must be logged in to vote
2 replies
@Munksgaard
Comment options

@tarsius
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants