Error when using :then or :first
Closed this issue · 3 comments
kahironimashte commented
I would like to store the current location before jumping to a bookmark:
("b" bookmark-jump :first '(org-mark-ring-push))
But I get an error: apply: Wrong number of arguments: #<subr quote>, 0
The simpler version ("b" bookmark-jump)
works perfectly. What am I doing wrong?
Kungsgeten commented
Not sure. Try to remove the quote. I'm not at my computer at the moment, but may be able to debug later.
kahironimashte commented
Excellent! ("b" bookmark-jump :first (org-mark-ring-push))
works. Thanks for the quick reply!
The :first
and :then
functionality is very handy. From the readme I thought that we are supposed to use quoted lists. Are quotes still required in general?
Kungsgeten commented
I think quoting is required when using ryo-modal-key, but not when using ryo-modal-keys