From 84fba78eabb308b4b40eb67db174ecbe7e303396 Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Sat, 21 Aug 2021 22:10:59 -0700 Subject: Definitions. --- smart-documents.org | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/smart-documents.org b/smart-documents.org index 1efc090..a23e74d 100644 --- a/smart-documents.org +++ b/smart-documents.org @@ -159,6 +159,43 @@ We begin by defining a function to open this very file. (find-file my/literate-config)) #+END_SRC +** Definitions + +*** Usual paths + +This section defines the paths that structure the overall {{{sd}}} +logic. + +#+BEGIN_SRC emacs-lisp :tangle yes + (defcustom sd-path-meta + (concat user-emacs-directory "meta/") + "Directory containing the meta files.") + + (defcustom sd-path-res + (concat user-emacs-directory "res/") + "Directory containing the third-party resources.") +#+END_SRC + +** Resources + +All third-party resources are saved at the following location. + +*** Packages + +#+BEGIN_SRC emacs-lisp :tangle yes + (setq package-user-dir + (concat sd-path-res + "elpa")) +#+END_SRC + +*** Emojis + +#+BEGIN_SRC emacs-lisp :tangle yes + (setq emojify-emojis-dir + (concat sd-path-res + "emojis")) +#+END_SRC + ** Meta-files In this section, we'll be tidying up the =.emacs.d/= directory---by -- cgit v1.2.3