summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2024-03-02 13:58:57 +0000
committerGrégoire Duchêne <gduchene@awhk.org>2024-03-02 14:02:16 +0000
commitabc54496526390ff04bcb7e34b2a0c52badbc286 (patch)
treeb5aea0dcd511c3433ec6e65566ec9ff44d8b02a8
parentedede428fcde701a334249459f769758b98a1cdd (diff)
emacs: Migrate stragglers to ‘setopt’
-rw-r--r--emacs/early-init.el11
1 files changed, 5 insertions, 6 deletions
diff --git a/emacs/early-init.el b/emacs/early-init.el
index 9b1de6a..0baf63f 100644
--- a/emacs/early-init.el
+++ b/emacs/early-init.el
@@ -17,12 +17,11 @@ directories."
;; Early Customization
-(setq default-frame-alist '((height . 40) (left . 0.5)
- (top . 0.3) (width . 160))
- gc-cons-threshold (* 50 1024 1024))
-
-(setopt package-archives '(("GNU ELPA" . "https://elpa.gnu.org/packages/")
- ("MELPA" . "https://melpa.org/packages/"))
+(setopt default-frame-alist '((height . 40) (left . 0.5)
+ (top . 0.3) (width . 160))
+ gc-cons-threshold (* 50 1024 1024)
+ package-archives '(("GNU ELPA" . "https://elpa.gnu.org/packages/")
+ ("MELPA" . "https://melpa.org/packages/"))
package-gnupghome-dir (expand-file-name "gnupg" package-user-dir)
package-user-dir (my/data-file-name "elpa")
treesit-extra-load-path `(,(my/data-file-name "tree-sitter")))