From: Amin Bandali Date: Sat, 21 Apr 2018 01:08:28 +0000 (-0400) Subject: better backup settings X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/configs/commitdiff_plain/204986be04daf07b694937e372e94ba458374238 better backup settings --- diff --git a/emacs/init.org b/emacs/init.org index db79586..b0570d3 100644 --- a/emacs/init.org +++ b/emacs/init.org @@ -91,7 +91,7 @@ Reset the variables back to default after init. ** Package management -*** [[https://github.com/raxod502/straight.el][=straight.el=]] +*** =straight.el= #+begin_quote Next-generation, purely functional package manager for the Emacs @@ -189,6 +189,17 @@ it it's own file. (load custom-file)) #+end_src +** Backups + +Emacs' default backup settings aren't that great. Let's use more +sensible options. See documentation for the ~make-backup-file~ +variable. + +#+begin_src emacs-lisp +(setq backup-by-copying t + version-control t) +#+end_src + ** Org #+begin_src emacs-lisp