mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Make big-mode adjust line-spacing
This commit is contained in:
@ -6,7 +6,10 @@
|
|||||||
;; + integration with reveal.js for presentations
|
;; + integration with reveal.js for presentations
|
||||||
|
|
||||||
;; Big-mode settings
|
;; Big-mode settings
|
||||||
(defconst big-mode-font (font-spec :family "Inconsolata" :size 16))
|
(defconst big-mode-font (font-spec :family "Hack" :size 16))
|
||||||
|
(defconst big-mode-line-spacing 0)
|
||||||
|
|
||||||
|
(defvar big-mode--line-spacing line-spacing)
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
@ -27,7 +30,8 @@
|
|||||||
:init-value nil
|
:init-value nil
|
||||||
:lighter " BIG"
|
:lighter " BIG"
|
||||||
:global t
|
:global t
|
||||||
(narf/load-font (if big-mode big-mode-font narf-default-font)))
|
(narf/load-font (if big-mode big-mode-font narf-default-font))
|
||||||
|
(setq-default line-spacing (if big-mode big-mode-line-spacing big-mode--line-spacing)))
|
||||||
|
|
||||||
(provide 'module-demo)
|
(provide 'module-demo)
|
||||||
;;; module-demo.el ends here
|
;;; module-demo.el ends here
|
||||||
|
Reference in New Issue
Block a user