mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-18 16:06:56 -05:00
defvar => defconst
This commit is contained in:
@@ -7,14 +7,14 @@
|
|||||||
;; Local settings
|
;; Local settings
|
||||||
(load "~/.emacs.local.el" t t)
|
(load "~/.emacs.local.el" t t)
|
||||||
;; Global constants
|
;; Global constants
|
||||||
(defvar doom-default-theme ,theme)
|
(defconst doom-default-theme ,theme)
|
||||||
(defvar doom-default-font
|
(defconst doom-default-font
|
||||||
(font-spec :family ,(nth 0 font)
|
(font-spec :family ,(nth 0 font)
|
||||||
:size ,(nth 1 font)
|
:size ,(nth 1 font)
|
||||||
:antialias ,(not (nth 2 font))))
|
:antialias ,(not (nth 2 font))))
|
||||||
|
|
||||||
(defvar doom-current-theme doom-default-theme)
|
(defconst doom-current-theme doom-default-theme)
|
||||||
(defvar doom-current-font doom-default-font)
|
(defconst doom-current-font doom-default-font)
|
||||||
|
|
||||||
(unless noninteractive
|
(unless noninteractive
|
||||||
,@(mapcar (lambda (pkg)
|
,@(mapcar (lambda (pkg)
|
||||||
|
Reference in New Issue
Block a user