term-cursor.el icon indicating copy to clipboard operation
term-cursor.el copied to clipboard

Fix `term-cursor--immediate` with optional arguments

Open fnussbaum opened this issue 1 year ago • 0 comments

By default term-cursor--immediate is called as part of the lsp-ui-doc-frame-hook, which is run with two arguments, and will therefore throw an error each time time, see https://github.com/syl20bnr/spacemacs/issues/15667.

(I do not know why or if it still needs to be part of this hook, but I think it is the right thing to do in any case to support arbitrary hooks run with arguments).

fnussbaum avatar Sep 17 '24 10:09 fnussbaum