diff --git a/config.org b/config.org index 95277ee..bb88871 100644 --- a/config.org +++ b/config.org @@ -656,3 +656,14 @@ (make-directory "~/.emacs-tmp/backup" t) (setq backup-directory-alist '(("." . "~/.emacs-tmp/backup"))) #+end_src + +** Backup by Copying + By default Emacs moves a file to the backup location and then + creates a copy in the original location, which apart from being a + very strange thing to do also messes up hard links. Setting + [[help:backup-by-copying][backup-by-copying]] changes it to the more obvious behaviour of + simply copying the file to the backup location. + + #+begin_src emacs-lisp + (setq backup-by-copying t) + #+end_src