summary refs log tree commit diff
path: root/emacs/custom
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-03-23 07:12:56 -0700
committerFranck Cuny <franck@fcuny.net>2022-03-23 07:12:56 -0700
commit61d6c19315302992a3fc67a2ec9e6e4d8eb9f68e (patch)
tree5b5268c511e77cb430551d29cb8bb58e84fc7ea8 /emacs/custom
parentgit: update gitignore (diff)
downloademacs.d-61d6c19315302992a3fc67a2ec9e6e4d8eb9f68e.tar.gz
settings: don't pull fcuny-vars anymore
This library is going away. Also update the docs.
Diffstat (limited to '')
-rw-r--r--emacs/custom/fcuny-settings.el10
1 files changed, 7 insertions, 3 deletions
diff --git a/emacs/custom/fcuny-settings.el b/emacs/custom/fcuny-settings.el
index 7477c64..2746b82 100644
--- a/emacs/custom/fcuny-settings.el
+++ b/emacs/custom/fcuny-settings.el
@@ -1,9 +1,12 @@
-;;; fcuny-settings.el --- this is a test
+;;; fcuny-settings.el --- Sets a number of defaults 
 ;;; Commentary:
+
 ;;; Code:
-(require 'fcuny-vars)
 (require 'use-package)
 
+(defvar my/custom-settings (expand-file-name "emacs-custom.el" user-emacs-directory)
+  "Path to Emacs custom variables.")
+
 ;; set utf-8 as the default encoding
 (prefer-coding-system 'utf-8-unix)
 (setq locale-coding-system 'utf-8)
@@ -17,7 +20,7 @@
 (setq auto-save-default nil)                     ;; don't auto save files
 (setq auto-save-list-file-prefix nil)            ;; no backups
 (setq create-lockfiles nil)                      ;; don't use a lock file
-(setq custom-file fcuny/custom-settings)         ;; where to save custom settings
+(setq custom-file my/custom-settings)            ;; where to save custom settings
 (setq make-backup-files nil)                     ;; really no backups
 (setq minibuffer-message-timeout 0.5)            ;; How long to display an echo-area message
 (setq next-screen-context-lines 5)               ;; scroll 5 lines at a time
@@ -59,3 +62,4 @@
       (exec-path-from-shell-initialize))))
 
 (provide 'fcuny-settings)
+;;; fcuny-settings.el ends here