当前位置 : 主页 > 手机开发 > 其它 >

emacs 24个主题和继承属性

来源:互联网 收集:自由互联 发布时间:2021-06-19
我在这里使用zenburn: https://github.com/djcb/elisp/blob/master/themes/zenburn-theme.el 它使用了很多:继承设置.但是,我注意到当我切换到另一个主题x然后回来时,x的前景将与zenburn的继承:inherit. 该
我在这里使用zenburn:

https://github.com/djcb/elisp/blob/master/themes/zenburn-theme.el

它使用了很多:继承设置.但是,我注意到当我切换到另一个主题x然后回来时,x的前景将与zenburn的继承:inherit.

该怎么办?

:继承在Emacs 24中奇怪地工作……目前还不清楚当前的行为是“特征”还是错误.我通常加载主题:

(load-theme 'zenburn t)
(load "zenburn-theme")

在我的init.el结尾;显式加载应重置继承. This is the advice given by the author of that theme,它在其他主题上也适用于我(例如曝光).

网友评论