我想阻止flyspell更改单词的前景颜色,只需添加一个红色下划线。
我尝试了这里的建议,但没有任何效果:How to overlay a face in Emacs that ONLY modifies the underline。也许我误解了答案,但在自定义界面中设置inherit: undefined没有任何作用。
我猜我应该定制flyspell-duplicate和flyspell-incorrect,但是如何定制呢?
发布于 2016-09-12 19:42:58
正如@chakravarthy-raghunandan所建议的那样,这个问题与本地定制有关。
原来我使用的主题设置了这个,所以我的定制被覆盖了。
把这个放到我的init.el里就解决了这个问题:
(custom-theme-set-faces
'cyberpunk
'(flyspell-duplicate ((t (:weight bold :underline (:color "#ff0000" :style wave)))))
'(flyspell-incorrect ((t (:weight bold :underline (:color "#ff0000" :style wave))))))https://stackoverflow.com/questions/39425726
复制相似问题