emacs-sideline / sideline

Show information on the side
GNU General Public License v3.0
118 stars 14 forks source link

Error: void-fuction string-pixel-width #2

Closed Blade6570 closed 2 years ago

Blade6570 commented 2 years ago

Hey when I activate sideline-flycheck, it throws the above error and changing the string-pixel-width function to shr-string-pixel-width solves the issue. https://github.com/emacs-sideline/sideline/blob/5b600012bdba1ed5843ae528f73eecca5c0475e3/sideline.el#L182

I am using emacs 28.1 native compilation on WSL2 Ubuntu-21.04.

jcs090218 commented 2 years ago

Ah... okay. I guess the function string-pixel-width only exists in Emacs 29 or above.

jcs090218 commented 2 years ago

Okay, I think it should be fixed by now! Thanks!