1
0
mirror of https://github.com/Foltik/dotfiles synced 2024-11-24 04:22:50 -05:00

Update emacs to not make lockfiles

This commit is contained in:
Jack Foltz 2018-12-12 16:57:04 -05:00
parent 01b5b3d27e
commit e3f273b87d
Signed by: foltik
GPG Key ID: D1F0331758D1F29A

View File

@ -87,7 +87,7 @@ Make yes-or-no prompts ask for y or n instead
(setq indent-line-function 'insert-tab) (setq indent-line-function 'insert-tab)
#+END_SRC #+END_SRC
** Keep backup files out of the way ** Keep backup files and lockfiles out of the way
By default, emacs makes files like =file~= and =#file#= and clutters up By default, emacs makes files like =file~= and =#file#= and clutters up
my projects. Instead, store them in =/tmp=! my projects. Instead, store them in =/tmp=!
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
@ -95,6 +95,7 @@ my projects. Instead, store them in =/tmp=!
`((".*" . ,temporary-file-directory))) `((".*" . ,temporary-file-directory)))
(setq auto-save-file-name-transforms (setq auto-save-file-name-transforms
`((".*" ,temporary-file-directory t))) `((".*" ,temporary-file-directory t)))
(setq create-lockfiles nil)
#+END_SRC #+END_SRC
** Customize the terminal ** Customize the terminal
Use fish shell in ansi-term Use fish shell in ansi-term