summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2021-08-21 22:11:33 -0700
committerMarius Peter <marius.peter@tutanota.com>2021-08-21 22:11:33 -0700
commit746a442bda79016ab94c1c9451a6b33938b43b69 (patch)
treeb9c19b5afefe60b01df596d726dda6bdbcb35b81
parent84fba78eabb308b4b40eb67db174ecbe7e303396 (diff)
Cleanup meta files section.
-rw-r--r--smart-documents.org38
1 files changed, 22 insertions, 16 deletions
diff --git a/smart-documents.org b/smart-documents.org
index a23e74d..71404ea 100644
--- a/smart-documents.org
+++ b/smart-documents.org
@@ -206,38 +206,44 @@ visited files]]); log location of known projects ([[Projects' bookmarks]]);
log location in recently visited files ([[Location in previously visited
file]]) The commonality between all these files is that they tend to
reference... other files. Thus, I decided to refer to them as
-meta-files. First, let's designate a folder to collect our meta-files
-together:
-
-#+BEGIN_SRC emacs-lisp :tangle yes
- (setq sd-meta-files-location (concat user-emacs-directory "meta/"))
-#+END_SRC
+meta-files.
*** Recently visited files
#+BEGIN_SRC emacs-lisp :tangle yes
- (setq recentf-save-file (concat
- sd-meta-files-location
- "recentf"))
+ (setq recentf-save-file
+ (concat
+ sd-path-meta
+ "recentf"))
#+END_SRC
*** Projects' bookmarks
#+BEGIN_SRC emacs-lisp :tangle yes
- (setq projectile-known-projects-file (concat
- sd-meta-files-location
- "projectile-bookmarks.eld"))
+ (setq projectile-known-projects-file
+ (concat
+ sd-path-meta
+ "projectile-bookmarks.eld"))
#+END_SRC
*** Location in previously visited file
#+BEGIN_SRC emacs-lisp :tangle yes
- (setq save-place-file (concat
- sd-meta-files-location
- "places"))
+ (setq save-place-file
+ (concat
+ sd-path-meta
+ "places"))
+#+END_SRC
+
+*** Auto save file lists
+
+#+BEGIN_SRC emacs-lisp :tangle yes
+ (setq auto-save-list-file-prefix
+ (concat sd-path-meta
+ "auto-save-list/.saves-"))
#+END_SRC
-*** Custom file
+** Custom file
Load settings created automatically by GNU Emacs Custom. (For example,
any clickable option/toggle is saved here.) Useful for fooling around
Copyright 2019--2024 Marius PETER