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

You can do something like:

(with-eval-after-load 'embark
  (add-to-list 'embark-pre-action-hooks '(org-cite-insert embark--ignore-target)))
useful!

Related questions

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