aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-05-19 19:31:59 -0700
committerFranck Cuny <franck@fcuny.net>2025-05-19 19:31:59 -0700
commit943ee7422f00d2863c4b0991753cbfac49dd97db (patch)
treee4b53c67dcd2c1d6c6e39f645c6ed4d98c9c25f5
parentswitch from wezterm to alacritty again (diff)
downloadinfra-943ee7422f00d2863c4b0991753cbfac49dd97db.tar.gz
move settings related to backups together
-rw-r--r--nix/users/fcuny/configs/emacs/init.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/nix/users/fcuny/configs/emacs/init.el b/nix/users/fcuny/configs/emacs/init.el
index 3d5ae35..92a9508 100644
--- a/nix/users/fcuny/configs/emacs/init.el
+++ b/nix/users/fcuny/configs/emacs/init.el
@@ -7,14 +7,16 @@
;; use utf-8 everywhere
(set-default-coding-systems 'utf-8)
+(setq backup-inhibited t) ;; no backups
+(setq create-lockfiles nil) ;; don't use a lock file
+
+
(require 'ibuffer)
(require 'imenu)
(require 'midnight)
(setq auto-save-default nil) ;; no auto save
-(setq backup-inhibited t) ;; no backups
(setq confirm-kill-emacs #'yes-or-no-p) ;; ask before killing emacs
-(setq create-lockfiles nil) ;; don't use a lock file
(setq cursor-in-non-selected-windows nil) ;; keep cursors and highlights in current window only
(setq delete-by-moving-to-trash t) ;; delete files by moving them to the trash
(setq highlight-nonselected-windows nil) ;; don't highlight inactive windows