summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2016-02-04 02:53:06 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2016-02-04 02:53:06 +0100
commit8d42f785897317b4a50d86d70e70e831b4009efc (patch)
tree55214f4c6c4bcb4ac9a503210396affb420b7a23
parentb9ea657842dbcd01d8ab0e0f7556e6eafe1fba63 (diff)
downloademacs-8d42f785897317b4a50d86d70e70e831b4009efc.tar.gz
emacs-8d42f785897317b4a50d86d70e70e831b4009efc.tar.xz
emacs-8d42f785897317b4a50d86d70e70e831b4009efc.zip
org-id: Enable package and change location of cache file
-rw-r--r--init.d/main.org14
1 files changed, 14 insertions, 0 deletions
diff --git a/init.d/main.org b/init.d/main.org
index 89b159b..1bde2ab 100644
--- a/init.d/main.org
+++ b/init.d/main.org
@@ -2034,6 +2034,20 @@ this function I disable helm.
(advice-add 'org-completing-read-no-i :around #'alex/run-without-helm)
#+end_src
+
+*** org-id
+
+org-id can create, save and find global unique ids for linking to org
+entries. I want to customize location of the file, that tracks the ids
+globally and enable the use of org-ids for creating of links.
+
+#+begin_src emacs-lisp
+ (use-package org-id
+ :init
+ (setq org-id-locations-file (alex/cache-file "org-id-locations")
+ org-id-link-to-org-use-id 't))
+#+end_src
+
** origami
Sometimes I want to fold some code sections. There are several mode