diminish.el icon indicating copy to clipboard operation
diminish.el copied to clipboard

diminished-modes errors with `Wrong type argument: characterp, " "`

Open vincentbernat opened this issue 3 years ago • 2 comments

Hey!

Running M-x diminished-modes returns the following error:

setq: Wrong type argument: characterp, " "

I am using company-mode and if I display messages before trying to apply mapconcat on it, I get:

(" ElDoc" "" " PgLn" "" " WK" " Projectile[.emacs.d:generic]" "" nil (" " (company-candidates (:eval ...) company-lighter-base)) " hl-p" " ws")

vincentbernat avatar Apr 21 '22 07:04 vincentbernat

Hi Vincent!

Thanks for reporting! I don't know when I'll have the time to take a look at this bug. Would you be willing to take a stab at it yourself?

myrjola avatar Apr 22 '22 09:04 myrjola

I have tried a bit, but I am a bit puzzled at what (" " (company-candidates (:eval ...) company-lighter-base)) could be. It is assigned to minor-name. When formatted with %s, I just get company-lighter.

vincentbernat avatar Apr 22 '22 13:04 vincentbernat