summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2021-08-21 22:10:59 -0700
committerMarius Peter <marius.peter@tutanota.com>2021-08-21 22:10:59 -0700
commit84fba78eabb308b4b40eb67db174ecbe7e303396 (patch)
tree1c25f78307c87ad2f1d028596d84489d0c189bca
parentefe594f8795cf320dfcd81ce950fa4857b925646 (diff)
Definitions.
-rw-r--r--smart-documents.org37
1 files changed, 37 insertions, 0 deletions
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
Copyright 2019--2024 Marius PETER