From 896243c262208312a766953a6c02e69932bf71ed Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 15 Mar 2020 19:14:06 -0700 Subject: emacs: consolidate basic configuration The configuration for the module `midnight`, `emacs-server` and `exec-path-from-shall` is moved to the package containing a bunch of misc. settings. --- emacs.d/custom/fcuny-hygiene.el | 15 --------------- emacs.d/custom/fcuny-settings.el | 17 ++++++++++++++++- 2 files changed, 16 insertions(+), 16 deletions(-) delete mode 100644 emacs.d/custom/fcuny-hygiene.el (limited to 'emacs.d') diff --git a/emacs.d/custom/fcuny-hygiene.el b/emacs.d/custom/fcuny-hygiene.el deleted file mode 100644 index 1ef135f..0000000 --- a/emacs.d/custom/fcuny-hygiene.el +++ /dev/null @@ -1,15 +0,0 @@ -(use-package midnight - :config - (midnight-mode t)) - -(use-package server - :hook (after-init . server-start)) - -(use-package exec-path-from-shell - :ensure t - :init (exec-path-from-shell-initialize) - (when (memq window-system '(mac ns)) - (exec-path-from-shell-initialize)) - (exec-path-from-shell-copy-env "GOPATH")) - -(provide 'fcuny-hygiene) diff --git a/emacs.d/custom/fcuny-settings.el b/emacs.d/custom/fcuny-settings.el index f232d52..a5ecc87 100644 --- a/emacs.d/custom/fcuny-settings.el +++ b/emacs.d/custom/fcuny-settings.el @@ -36,6 +36,21 @@ '(inhibit-startup-echo-area-message t)) (setq user-full-name "franck cuny" - user-mail-address "franck.cuny@gmail.com") + user-mail-address "franck@fcuny.net" + add-log-mailing-address "franck@fcuny.net") + +(use-package midnight + :config + (midnight-mode t)) + +(use-package server + :hook (after-init . server-start)) + +(use-package exec-path-from-shell + :ensure t + :init (exec-path-from-shell-initialize) + (when (memq window-system '(mac ns)) + (exec-path-from-shell-initialize)) + (exec-path-from-shell-copy-env "GOPATH")) (provide 'fcuny-settings) -- cgit 1.4.1