我想防止flyspell更改单词的前景色,而仅添加红色下划线。
我在这里尝试过这些建议,但没有任何效果:如何在Emacs中覆盖仅修改下划线的面部。也许我误解了答案,但是inherit: undefined
在定制界面中进行设置没有任何作用。
猜猜我应该自定义flyspell-duplicate
和flyspell-incorrect
,但是如何?
正如@ 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))))))
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句