rougier / svg-lib

Emacs SVG libraries for creatings tags, icons and bars
GNU General Public License v3.0
339 stars 30 forks source link

Move button mode to the top so icons will show properly #39

Open chookity-pokk opened 9 months ago

chookity-pokk commented 9 months ago

In issue #38 I ran into the issue where none of my icons were being inserted after going through most of the demo. Though after running (svg-lib-button-mode 1), I was able to rerun those examples and get all the icons showing. I attached a before/after screenshots to the issue.

rougier commented 8 months ago

Thanks. I think you only need to remove display from the list of font lock props:

(setq font-lock-extra-managed-props
             (remove 'display font-lock-extra-managed-props))