设置字体尺寸并突出显示Emacs中的评论



如何设置Emacs中注释的字体大小。我希望评论的大小比其余的代码小。我也希望它突出显示。

run m-x customize-face font-lock-comment-face 并将height属性以及backgroundforeground设置为如何突出显示注释。

要在会话之间持续存在,请从自定义屏幕中选择Save for future sessions或将其添加到您的.emacs

(custom-set-faces
 '(font-lock-comment-face ((t (:background "yellow" :foreground "red" :height 0.5)))))

最新更新