summaryrefslogtreecommitdiffhomepage
path: root/org
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@imladris.local>2017-06-14 02:21:28 +0200
committerJose Antonio Ortega Ruiz <jao@imladris.local>2017-06-14 02:21:28 +0200
commitfa0edc1a86584a6758d8b453ca77fd92340fced6 (patch)
tree1dee058c0b517cf76f3cc6105d7e28104c41eed7 /org
parentec9adfba23a9dbfe1e617d7a002ea5c73f1ca82f (diff)
downloadelibs-fa0edc1a86584a6758d8b453ca77fd92340fced6.tar.gz
elibs-fa0edc1a86584a6758d8b453ca77fd92340fced6.tar.bz2
new jao-notify with libnotify
Diffstat (limited to 'org')
-rw-r--r--org/jao-org-links.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/org/jao-org-links.el b/org/jao-org-links.el
index 1ce7ab3..4f8d606 100644
--- a/org/jao-org-links.el
+++ b/org/jao-org-links.el
@@ -5,7 +5,7 @@
;; doc links
(defvar jao-org--sink-dir "./")
-(org-add-link-type "doc" 'jao-org-follow-doc 'identity)
+
(defun jao-org-follow-doc (link)
(let ((dest-path (concat "./doc/"
(and (boundp 'docs-dir)
@@ -34,6 +34,7 @@
(insert (format "[[doc:%s][%s]]" (jao-org--title->file title) title)))
(defun jao-org-links-setup (sink-dir)
+ (org-add-link-type "doc" 'jao-org-follow-doc 'identity)
(setq jao-org--sink-dir (file-name-as-directory sink-dir)))
(defun jao-org-insert-safari-link ()