【文件属性】:
文件名称:anchor-theme-buffer-local:仅将自定义主题应用于当前Emacs缓冲区
文件大小:117KB
文件格式:ZIP
更新时间:2021-03-12 15:25:09
EmacsLisp
goo#+ title: anchor-theme-buffer-local
该套餐提供
仅将emacs自定义主题应用于当前缓冲区的函数
产生副作用的函数仅用作模式挂钩
功能和宏
anchor-theme-buffer-local
此功能将主题应用于当前缓冲区,而不会影响其他缓冲区。
下面的示例使tange主题在当前缓冲区中有效,而无需更改其他缓冲区中的任何面设置。
(anchor-theme-buffer-local 'tango )
anchor-theme-buffer-local
该宏生成可以设置特定于模式的缓冲区外观以及打开/关闭某些适用功能的函数。
以下示例显示了如何使用此函数为emacs-lisp-mode生成模式挂钩函数
( add-hook 'emacs-lisp-mode-hook
(anchor-theme-hook-gen 'adwait
【文件预览】:
anchor-theme-buffer-local-main
----LICENSE(34KB)
----Emacs-with-anchor-themes-0.png(110KB)
----anchor-theme-buffer-local.el(3KB)
----README.org(5KB)