summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-03-21 19:50:04 -0700
committerFranck Cuny <franck@fcuny.net>2022-03-21 19:50:40 -0700
commitf146c9ae3d74a8b4ad07b8e5f90df1390d69740d (patch)
tree4e0dfebc0dbf74a83b4cf22f488bf565a9489239 /emacs
parentinit: address flymake feedback (diff)
downloademacs.d-f146c9ae3d74a8b4ad07b8e5f90df1390d69740d.tar.gz
settings: make it work with flymake
Diffstat (limited to 'emacs')
-rw-r--r--emacs/custom/fcuny-settings.el15
1 files changed, 10 insertions, 5 deletions
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)