docs(emacs/basic): set backup directory for TRAMP files
This commit is contained in:
parent
c2ebc0db51
commit
3ad2ae4074
@ -156,6 +156,8 @@ it looks really uncomfortable! This is why I prefer to tell Emacs to
|
|||||||
keep its backup files to itself in a directory it only will access.
|
keep its backup files to itself in a directory it only will access.
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq backup-directory-alist `(("." . ,(expand-file-name ".tmp/backups/"
|
(setq backup-directory-alist `(("." . ,(expand-file-name ".tmp/backups/"
|
||||||
|
user-emacs-directory)))
|
||||||
|
tramp-backup-directory-alist `(("." . ,(expand-file-name ".tmp/tramp-backups/"
|
||||||
user-emacs-directory))))
|
user-emacs-directory))))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
@ -50,7 +50,6 @@ stuff.
|
|||||||
(package-initialize)
|
(package-initialize)
|
||||||
(unless package-archive-contents
|
(unless package-archive-contents
|
||||||
(package-refresh-contents))
|
(package-refresh-contents))
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
From time to time, I fork some packages either because I’m trying to
|
From time to time, I fork some packages either because I’m trying to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user