From 746a442bda79016ab94c1c9451a6b33938b43b69 Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Sat, 21 Aug 2021 22:11:33 -0700 Subject: Cleanup meta files section. --- smart-documents.org | 38 ++++++++++++++++++++++---------------- 1 file 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 -- cgit v1.2.3