如何设置Emacs中注释的字体大小。我希望评论的大小比其余的代码小。我也希望它突出显示。
run m-x customize-face font-lock-comment-face 并将height
属性以及background
和foreground
设置为如何突出显示注释。
要在会话之间持续存在,请从自定义屏幕中选择Save for future sessions
或将其添加到您的.emacs
:
(custom-set-faces
'(font-lock-comment-face ((t (:background "yellow" :foreground "red" :height 0.5)))))