Skip to content

Commit

Permalink
Place autosaves in the config directory
Browse files Browse the repository at this point in the history
  • Loading branch information
cryon committed May 14, 2020
1 parent cbc9435 commit bcf2b72
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ recentf
smex-items
games
bookmarks
saves
3 changes: 3 additions & 0 deletions general.el
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
;; don't want lockfiles
create-lockfiles nil

;; place autosaves separatly
auto-save-file-name-transforms `((".*" ,(concat config-dir "saves/") t))

;; scroll nicely
scroll-conservatively 10000
scroll-step 1
Expand Down
Empty file added saves/.keep
Empty file.

0 comments on commit bcf2b72

Please sign in to comment.