Skip to content

Commit 788d889

Browse files
committed
emacs: Enable backup-by-copying.
* private_dot_emacs.d/modules/files.el: Enable backup-by-copying.
1 parent bba8e72 commit 788d889

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

private_dot_emacs.d/modules/files.el

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
;; Mounted files from a host namespace cannot be renamed.
2+
(setq backup-by-copying t)
3+
14
(mapc (lambda (lst)
25
(add-to-list 'auto-mode-alist lst))
36
'(("PKGBUILD" . shell-script-mode)

0 commit comments

Comments
 (0)