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.
This commit is contained in:
William Carroll 2020-01-27 14:50:09 +00:00
parent b6e9952889
commit b5c0d29601
2 changed files with 2 additions and 3 deletions

View file

@ -11,7 +11,7 @@
(require 'kaomoji)
;; Google
(require 'google-stuff)
;; (require 'google-stuff)
;; Laptop XF-functionality
(require 'pulse-audio)

View file

@ -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