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) (require 'kaomoji)
;; Google ;; Google
(require 'google-stuff) ;; (require 'google-stuff)
;; Laptop XF-functionality ;; Laptop XF-functionality
(require 'pulse-audio) (require 'pulse-audio)

View file

@ -1,5 +1,4 @@
#!/bin/sh #!/bin/sh
# Might be unnecessary... # Might be unnecessary...
. ~/.profile . ~/.profile
@ -28,4 +27,4 @@ unclutter &
keynav daemonize keynav daemonize
# Startup Emacs (and EXWM). # Startup Emacs (and EXWM).
exec dbus-launch --exit-with-session emacs --debug-init exec emacs --debug-init --no-site-file --no-site-lisp