Configure to backup by copying
This commit is contained in:
parent
7267897019
commit
b299274ad2
11
config.org
11
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user