如何设置emacs eshell默认面?
当我在emacs中运行eshell(或shell)时,我希望默认的面是不同的字体(如Courrier),这样eshell看起来更像一个“普通”shell 通过查看emacs的面,我看到了几个特定于eshell的面(用于符号链接、目录、提示符等),但我没有看到仅用于基本默认面的任何内容 Google返回了大量关于定制eshell的操作的结果,但很少有关于定制其外观的结果如何设置emacs eshell默认面?,emacs,eshell,emacs-faces,Emacs,Eshell,Emacs Faces,当我在emacs中运行eshell(或shell)时,我希望默认的面是不同的字体(如Courrier),这样eshell看起来更像一个“普通”shell 通过查看emacs的面,我看到了几个特定于eshell的面(用于符号链接、目录、提示符等),但我没有看到仅用于基本默认面的任何内容 Google返回了大量关于定制eshell的操作的结果,但很少有关于定制其外观的结果 (defun my-buffer-face-mode-courrier () (interactive) (se
(defun my-buffer-face-mode-courrier ()
(interactive)
(setq buffer-face-mode-face '(:family "Courrier"))
(buffer-face-mode))
(add-hook 'eshell-mode-hook 'my-buffer-face-mode-courrier)
此示例改编自:Awesome!这正是我想要的。谢谢