summary refs log tree commit diff stats
path: root/user/emacs/early-init.el
diff options
context:
space:
mode:
Diffstat (limited to 'user/emacs/early-init.el')
-rw-r--r--user/emacs/early-init.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/user/emacs/early-init.el b/user/emacs/early-init.el
index 29dadb92..d24c661d 100644
--- a/user/emacs/early-init.el
+++ b/user/emacs/early-init.el
@@ -4,9 +4,16 @@
       frame-inhibit-implied-resize t
       byte-compile-warnings '(not free-vars unresolved noruntime lexical make-local cl-functions))
 
+(require 'xdg)
+(startup-redirect-eln-cache
+ (expand-file-name "emacs/native-compile"
+                   (xdg-cache-home)))
+
 ;; Disable all the bars, unless on macOS, in which case, keep the menu bar.
 (unless (eq window-system 'ns)
   (menu-bar-mode -1))
 (scroll-bar-mode -1)
 (tool-bar-mode -1)
 (set-fringe-mode '(4 . 4))
+
+(setenv "LSP_USE_PLISTS" "true") ; must match with lsp-mode override