summary refs log tree commit diff stats
path: root/user/emacs/early-init.el
diff options
context:
space:
mode:
authorAlan Pearce2023-03-26 20:20:37 +0200
committerAlan Pearce2023-03-26 20:22:08 +0200
commit36f21cda40d2e4718c50fb2652001d1eefaa9c8c (patch)
tree4c0ba95fd7d50c33b6aa9f6c35dbf270b19c909f /user/emacs/early-init.el
parent8cdf1921592825b20e7f4bb005b418963356e135 (diff)
downloadnixfiles-36f21cda40d2e4718c50fb2652001d1eefaa9c8c.tar.lz
nixfiles-36f21cda40d2e4718c50fb2652001d1eefaa9c8c.tar.zst
nixfiles-36f21cda40d2e4718c50fb2652001d1eefaa9c8c.zip
emacs: remove some useless code
magit-define-global-key-bindings is t by default

editorconfig will always be available assuming I'm running emacs from nix/home-manager
Diffstat (limited to 'user/emacs/early-init.el')
-rw-r--r--user/emacs/early-init.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/user/emacs/early-init.el b/user/emacs/early-init.el
index e6ede93d..f2212c69 100644
--- a/user/emacs/early-init.el
+++ b/user/emacs/early-init.el
@@ -1,8 +1,9 @@
+(defvar package-quickstart t)
 (setq inhibit-startup-screen t
       initial-scratch-message ""
       initial-major-mode 'fundamental-mode
-      package-quickstart t
-      frame-inhibit-implied-resize t)
+      frame-inhibit-implied-resize t
+      byte-compile-warnings '(not free-vars unresolved noruntime lexical make-local cl-functions))
 
 ;; Disable all the bars, unless on macOS, in which case, keep the menu bar.
 (unless (eq window-system 'ns)
@@ -10,5 +11,3 @@
 (scroll-bar-mode -1)
 (tool-bar-mode -1)
 (set-fringe-mode '(4 . 4))
-
-(defvar evil-want-keybinding nil)