cnfonts能不能针对某个特定模式

比如只对dired模式起作用,请问该怎么配置

(defun select-profile1 ()
  (cnfonts--select-profile "profile1"))
(add-hook 'dired-mode-hook #'select-profile1)
1 个赞

感谢马上试试看

完全实现了我要的效果,非常感谢