Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong type argument: number-or-marker-p, nil with eldoc-echo-area-use-multiline-p set to a number #34

Open
bcc32 opened this issue Sep 11, 2023 · 0 comments

Comments

@bcc32
Copy link

bcc32 commented Sep 11, 2023

eldoc-echo-area-use-multiline-p may be set to a positive number to specify at most how many lines the user wants Eldoc to take up (either as an absolute number of lines, or as a fraction of the emacs frame height). However, when set this way, merlin-eldoc does not work correctly, and produces the following error when hovering over any symbol:

eldoc error: (wrong-type-argument number-or-marker-p nil) [6 times]

This seems to be due to the definition of merlin-eldoc-max-lines, which assumes a symbol-typed value of eldoc-echo-area-use-multiline-p (and becomes unexpectedly nil if the latter is not a symbol).

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

No branches or pull requests

1 participant