From b5c0d296018140d16dc4be81c12697fe29d6f92d Mon Sep 17 00:00:00 2001 From: William Carroll Date: Mon, 27 Jan 2020 14:50:09 +0000 Subject: Change Emacs startup Remove `dbus-launch` and prefer simply `exec emacs`. Add `--no-site-file` and `--no-site-lisp` flags. Temporarily disable `google-stuff.el` because it's unavailable with the `--no-site-lisp` flag. This should all be fixed when I fully nixify my Emacs. --- configs/shared/.emacs.d/init.el | 2 +- configs/shared/.xsessionrc.shared | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'configs/shared') diff --git a/configs/shared/.emacs.d/init.el b/configs/shared/.emacs.d/init.el index c5657c909027..774ae8888b03 100644 --- a/configs/shared/.emacs.d/init.el +++ b/configs/shared/.emacs.d/init.el @@ -11,7 +11,7 @@ (require 'kaomoji) ;; Google -(require 'google-stuff) +;; (require 'google-stuff) ;; Laptop XF-functionality (require 'pulse-audio) diff --git a/configs/shared/.xsessionrc.shared b/configs/shared/.xsessionrc.shared index 7d0753b21cc2..7c8428e406fa 100644 --- a/configs/shared/.xsessionrc.shared +++ b/configs/shared/.xsessionrc.shared @@ -1,5 +1,4 @@ #!/bin/sh - # Might be unnecessary... . ~/.profile @@ -28,4 +27,4 @@ unclutter & keynav daemonize # Startup Emacs (and EXWM). -exec dbus-launch --exit-with-session emacs --debug-init +exec emacs --debug-init --no-site-file --no-site-lisp -- cgit 1.4.1