about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-10-21 16:15:04 +0100
committerDavid Morgan <djm_uk@protonmail.com>2022-10-21 16:15:04 +0100
commitab76fc25a85b9e3e591f3eb96c8a0627d77bfa19 (patch)
tree42b3bcf6ba00b660f4a85db84eb8848f27ca1da1
parent79d718e7ddec09a9fd69dd787c95fc9393eea839 (diff)
downloaddotfiles-ab76fc25a85b9e3e591f3eb96c8a0627d77bfa19.tar.gz
Copy some config from emfy
-rw-r--r--.emacs.d/lisp/init-editor.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/.emacs.d/lisp/init-editor.el b/.emacs.d/lisp/init-editor.el
index 5a19c99..cd60b4a 100644
--- a/.emacs.d/lisp/init-editor.el
+++ b/.emacs.d/lisp/init-editor.el
@@ -20,7 +20,8 @@
   (put 'downcase-region 'disabled nil)
   (put 'erase-buffer 'disabled nil)
 
-  (setq-default indent-tabs-mode nil)
+  (setq-default indent-tabs-mode nil
+                tab-width 4)
   (setq comment-auto-fill-only-comments t)
   (setq large-file-warning-threshold 100000000)
   (setq create-lockfiles nil)
@@ -28,6 +29,7 @@
   (setq global-auto-revert-non-file-buffers t)
   (global-auto-revert-mode t)
 
+  (setq backup-by-copying t)
   (setq backup-directory-alist
         `((".*" . ,temporary-file-directory))
         auto-save-file-name-transforms