[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/kiwix 47d968a 069/192: update add org-mode link functio
From: |
Stefan Monnier |
Subject: |
[elpa] externals/kiwix 47d968a 069/192: update add org-mode link functions to Org-mode 9.0 |
Date: |
Sat, 19 Dec 2020 00:41:35 -0500 (EST) |
branch: externals/kiwix
commit 47d968adbf71bc59d1adfbabfdd82ca2a94ea47e
Author: stardiviner <numbchild@gmail.com>
Commit: stardiviner <numbchild@gmail.com>
update add org-mode link functions to Org-mode 9.0
---
kiwix.el | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/kiwix.el b/kiwix.el
index 3865f96..15a747c 100644
--- a/kiwix.el
+++ b/kiwix.el
@@ -280,9 +280,11 @@ for query string and library interactively."
(if kiwix-support-org-mode-link
(progn
- (org-add-link-type "wiki" 'org-wiki-link-open 'org-wiki-link-export)
- ;; TODO: after fix interactive store link issue. enable this adding.
- ;; (add-hook 'org-store-link-functions 'org-wiki-store-link t)
+ (org-link-set-parameters "wiki"
+ :follow #'org-wiki-link-open
+ :store #'org-wiki-store-link
+ :export #'org-wiki-link-export)
+ (add-hook 'org-store-link-functions 'org-wiki-store-link t)
;; [[Wikipedia_Local:]]
;; (if (and
- [elpa] externals/kiwix 45cc8ef 067/192: add some links test., (continued)
- [elpa] externals/kiwix 45cc8ef 067/192: add some links test., Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix d9bab20 074/192: Merge branch 'release/v0.5.1', Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix ea54acf 080/192: extract get org-mode link library to a single function, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 49fdf02 079/192: add custom option for specifying your native language library, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 5cba3b5 081/192: add a test for only capitalize the first word, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 4102205 086/192: load for `org-link-set-parameters', Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 7b8a799 088/192: Merge tag 'void-function_org-link-set-parameters' into develop, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix e600844 089/192: fix kiwix does not contain group., Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 121d98a 093/192: fix void function org-link-set-parameters., Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 686bac6 068/192: fix query validating regexp, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 47d968a 069/192: update add org-mode link functions to Org-mode 9.0,
Stefan Monnier <=
- [elpa] externals/kiwix 3dab002 077/192: only capitalize the first word of string., Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 6fb8354 078/192: Merge branch 'release/v0.5.2', Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 43e0547 083/192: Merge branch 'release/v0.6.0', Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 6a7fc40 097/192: Merge branch 'hotfix/void-function-org-link-set-parameters-2', Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 2ab63c9 098/192: Merge tag 'void-function-org-link-set-parameters-2' into develop, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 6e43812 102/192: fix void functions by adding autoload cookies., Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 5aa6c3a 105/192: `string-empty-p` depends on (emacs "24.4"), Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 86dbead 107/192: add a helper function to detect kiwix profile directory accessible., Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 44a44cb 110/192: autoload org related functions, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix f7535e0 112/192: format code, remove dangling parentheses, Stefan Monnier, 2020/12/19