Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core-fonts-support: Don't fiddle with user's face Customization
Fixes syl20bnr#5353. Related: emacs-mirror/emacs@eae23d6 https://emacs.stackexchange.com/questions/33403/customize-creates-custom-set-faces-unintentionally An alternative strategy is to call `(set-frame-font fontspec nil nil)`. This will work on any emacs version, and this will also inhibit fiddling with the Customization. But this will apply the font setting only to the current frame. While this *should* be okay (because when this code runs, only the current frame should be graphical and thus relevant when it comes to font changes), I'm not convinced that this analysis is correct, and that it's a good idea to rely on this fact.
- Loading branch information