From 61d6c19315302992a3fc67a2ec9e6e4d8eb9f68e Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 23 Mar 2022 07:12:56 -0700 Subject: settings: don't pull fcuny-vars anymore This library is going away. Also update the docs. --- emacs/custom/fcuny-settings.el | 10 +++++++--- 1 file 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 -- cgit 1.4.1