emacs 24 主题和继承属性

标签 emacs elisp emacs24

我从这里使用 zenburn:

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

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

该怎么办?

最佳答案

:inherit 在 Emacs 24 中奇怪地工作......目前尚不清楚当前行为是“功能”还是错误。我通常加载主题:

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

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

关于emacs 24 主题和继承属性,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11298016/

相关文章:

emacs - 如何在Emacs中逐步搜索全小写模式?

emacs - emacs lisp shell 进程参数的问题

emacs - 如何在 smartparens 中更改 sp-navigate-reindent-after-up 的值

emacs - 禁用有关加载路径中的 emacs.d 的警告

Emacs:Aquamacs 更新后,自动填充模式的 Alt-q 在 LaTeX 中的数学分隔符处换行

emacs - 如何在 Emacs 中创建收藏文件列表?

emacs - 删除窗口的更智能替代方案?

emacs - emacs 中有像 vimdiff 这样的选项吗?

emacs - idris-mode – 缓冲区没有进程

emacs - 如何在 emacs 中编写键绑定(bind)以便于重复?