From f146c9ae3d74a8b4ad07b8e5f90df1390d69740d Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 21 Mar 2022 19:50:04 -0700 Subject: settings: make it work with flymake --- emacs/custom/fcuny-settings.el | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'emacs') diff --git a/emacs/custom/fcuny-settings.el b/emacs/custom/fcuny-settings.el index d6a558f..7477c64 100644 --- a/emacs/custom/fcuny-settings.el +++ b/emacs/custom/fcuny-settings.el @@ -1,4 +1,8 @@ +;;; fcuny-settings.el --- this is a test +;;; Commentary: +;;; Code: (require 'fcuny-vars) +(require 'use-package) ;; set utf-8 as the default encoding (prefer-coding-system 'utf-8-unix) @@ -35,10 +39,11 @@ '(inhibit-startup-message t) '(inhibit-startup-echo-area-message t)) -(setq user-full-name "franck cuny" +(setq user-full-name "Franck Cuny" user-mail-address "franck@fcuny.net" add-log-mailing-address "franck@fcuny.net") +;; delete buffers that have not been displayed in the last 3 days (use-package midnight :config (midnight-mode t)) @@ -48,9 +53,9 @@ (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")) + :config + (progn + (when (memq window-system '(mac ns)) + (exec-path-from-shell-initialize)))) (provide 'fcuny-settings) -- cgit 1.4.1