Skip to content

Conversation

fnussbaum
Copy link
Collaborator

Remove lsp-ui-doc-frame-hook from term-cursor-triggers to fix #15667. The hook is run with two arguments, but the handler function term-cursor--immediate does not expect any. (It can be added back in case denrat/term-cursor.el#5 is merged and if it is still deemed necessary.)

Also do not enable global-term-cursor-mode in daemon mode unless a terminal frame is created.

@fnussbaum fnussbaum force-pushed the term-cursor-daemon-fix branch from 3af7283 to 58c4c26 Compare September 17, 2024 10:47
Remove `lsp-ui-doc-frame-hook` from `term-cursor-triggers` to fix syl20bnr#15667. The
hook is run with two arguments, but the handler function
`term-cursor--immediate` does not expect any. (It can be added back in case
denrat/term-cursor.el#5 is merged and if it is still
deemed necessary.)

Also do not enable `global-term-cursor-mode` in daemon mode unless a terminal
frame is created.
@fnussbaum fnussbaum force-pushed the term-cursor-daemon-fix branch from 58c4c26 to 4ac439a Compare September 17, 2024 11:40
@smile13241324 smile13241324 merged commit 55cdc69 into syl20bnr:develop Sep 17, 2024
9 checks passed
@fnussbaum fnussbaum deleted the term-cursor-daemon-fix branch December 8, 2024 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LSP documentation minibuffer: recurrent error message term-cursor--immediate

2 participants