Lisp mode specific face settings
This commit is contained in:
parent
2880a18434
commit
43157f0e0f
2 changed files with 4 additions and 3 deletions
|
@ -82,7 +82,10 @@ Uses `mk/hyperspec-dir-locations' to find the directory."
|
|||
(use-package lisp-mode
|
||||
:ensure nil
|
||||
:hook ((lisp-mode . prettify-symbols-mode)
|
||||
(lisp-mode . (lambda () (setq-local lisp-indent-function 'common-lisp-indent-function))))
|
||||
(lisp-mode . (lambda ()
|
||||
(setq-local lisp-indent-function 'common-lisp-indent-function)
|
||||
(set-face-attribute 'font-lock-function-name-face nil :underline t)
|
||||
(set-face-attribute 'font-lock-keyword-face nil :slant 'italic))))
|
||||
:mode (("\\.lisp$" . lisp-mode)
|
||||
("\\.lsp$" . lisp-mode)
|
||||
("\\.cl$" . lisp-mode))
|
||||
|
|
|
@ -73,6 +73,4 @@
|
|||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
'(font-lock-function-name-face ((t (:underline t))))
|
||||
'(font-lock-keyword-face ((t (:slant italic))))
|
||||
'(variable-pitch ((t (:height 1.0 :family "Noto Sans")))))
|
||||
|
|
Loading…
Add table
Reference in a new issue