profile
viewpoint

Ask questionsCan I include a command in a keymap, that does not pass an argument?

I would like an at-point embark menu, where one of the commands is listed, but when chosen runs without argument.

Specifically, I need this:

(org-cite-insert)

... and not this:

(org-cite-insert '("one" "two"))

Is that possible?

oantolin/embark

Answer questions oantolin

OK, fair enough. I just meant you could always have written a pre-action hook to ignore a target, but I agree there is a qualitative difference between having to write a hook yourself and just setting up an existing function to be used as a hook.

useful!

Related questions

No questions were found.
source:https://uonfu.com/
Github User Rank List