Emacs: now Emacs daemon uses .emacs-full loading everything, whereas Emacs uses

.emacs which discard plugins.el.
master
Ambrevar 2013-01-09 11:55:55 +01:00
parent 3eb2b903ad
commit 30fabc8c5c
3 changed files with 19 additions and 3 deletions

4
.emacs
View File

@ -1,6 +1,7 @@
;; -*- mode:emacs-lisp -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Emacs config
;; 2012-10-12
;; 2013-01-09
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Main should be loaded first.
@ -9,7 +10,6 @@
(load "~/.emacs.d/theme.el" nil t)
(load "~/.emacs.d/modes.el" nil t)
(load "~/.emacs.d/functions.el" nil t)
(load "~/.emacs.d/plugins.el" nil t)
;; End of file

16
.emacs-full Normal file
View File

@ -0,0 +1,16 @@
;; -*- mode:emacs-lisp -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Emacs config
;; 2013-01-09
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Main should be loaded first.
(load "~/.emacs.d/main.el" nil t)
(load "~/.emacs.d/theme.el" nil t)
(load "~/.emacs.d/modes.el" nil t)
(load "~/.emacs.d/functions.el" nil t)
(load "~/.emacs.d/plugins.el" nil t)
;; End of file

View File

@ -111,7 +111,7 @@ alias xmorphzi='xrandr --output $(xrandr | grep "\<connected\>" | cut -f1 -d" ")
# WantedBy=multi-user.target
if [ -n "$(command -v emacs)" ]; then
alias em='emacsclient -a "" -t'
alias emacs-reload="emacsclient -e '(kill-emacs)' >/dev/null 2>&1; emacs --daemon"
alias emacs-reload="emacsclient -e '(kill-emacs)' >/dev/null 2>&1; emacs --daemon -q -l ~/.emacs-full"
# alias emacs-reload="sudo systemctl restart emacs@$USER"
fi