[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/kiwix b585e25 026/192: move org-mode relative code to c
From: |
Stefan Monnier |
Subject: |
[elpa] externals/kiwix b585e25 026/192: move org-mode relative code to commentary |
Date: |
Sat, 19 Dec 2020 00:41:26 -0500 (EST) |
branch: externals/kiwix
commit b585e253f7ad25e85b876c8ab11c463fc6cdc49f
Author: stardiviner <numbchild@gmail.com>
Commit: stardiviner <numbchild@gmail.com>
move org-mode relative code to commentary
---
kiwix.el | 38 +++++++++++++++++++-------------------
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/kiwix.el b/kiwix.el
index 6167158..c1052b7 100644
--- a/kiwix.el
+++ b/kiwix.el
@@ -18,6 +18,25 @@
;; [M-x kiwix-launch-server] to launch Kiwix server.
;; [M-x kiwix-at-point] to search the word under point or the region selected
string.
+
+;; ;;; Support Org-mode
+;; ;; [[wiki:]]
+;; ;; for open wiki search query with local application database.
+;; (defalias 'org-wiki-link-open 'kiwix-query)
+
+;; (if kiwix-support-org-mode-link-type
+;; (org-add-link-type "wiki" 'org-wiki-link-open))
+
+;; ;; [[Wikipedia_Local:]]
+;; (if (and
+;; kiwix-support-org-mode-link-abbrev
+;; (member '("Wikipedia_Local" .
"http://127.0.0.1:8000/wikipedia_zh_all_2015-11/A/%s.html")
org-link-abbrev-alist)
+;; (assoc "Wikipedia_Local" org-link-abbrev-alist))
+
+;; (setq org-link-abbrev-alist
+;; (cons '("Wikipedia_Local" .
"http://127.0.0.1:8000/wikipedia_zh_all_2015-11/A/%s.html")
org-link-abbrev-alist))
+;; )
+
;;; Code:
@@ -110,25 +129,6 @@ for query string and library interactively."
kiwix-libraries)))))
(kiwix-query query-string library)))
-;;; Support Org-mode
-;; [[wiki:]]
-;; for open wiki search query with local application database.
-(defalias 'org-wiki-link-open 'kiwix-query)
-
-(if kiwix-support-org-mode-link-type
- (org-add-link-type "wiki" 'org-wiki-link-open))
-
-;; [[Wikipedia_Local:]]
-(if (and
- kiwix-support-org-mode-link-abbrev
- (member '("Wikipedia_Local" .
"http://127.0.0.1:8000/wikipedia_zh_all_2015-11/A/%s.html")
org-link-abbrev-alist)
- (assoc "Wikipedia_Local" org-link-abbrev-alist))
-
- (setq org-link-abbrev-alist
- (cons '("Wikipedia_Local" .
"http://127.0.0.1:8000/wikipedia_zh_all_2015-11/A/%s.html")
org-link-abbrev-alist))
- )
-
-
(provide 'kiwix)
- [elpa] externals/kiwix e49d830 002/192: temporary push a not working version., (continued)
- [elpa] externals/kiwix e49d830 002/192: temporary push a not working version., Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix e7edd5e 004/192: rename old kiwix.el to kiwix-http.el, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 06c466e 011/192: fix Kiwix query need to capitalized, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix e54e80a 016/192: update function variables, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 06b5d36 027/192: Merge branch 'master' of github.com:stardiviner/kiwix.el, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 377f3fa 014/192: add package metadata, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix d0da8cd 017/192: make package description clear, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix bd0fe09 018/192: setq-local depend on cl-lib, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 5990cc7 022/192: improve query function to specify library, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 511a11c 025/192: Merge pull request #1 from purcell/patch-1, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix b585e25 026/192: move org-mode relative code to commentary,
Stefan Monnier <=
- [elpa] externals/kiwix 1782487 029/192: re-enable org-mode wiki link support, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix cfef75f 030/192: improve org-mode wiki: link support, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix af10bd6 031/192: fix org link exporting encoding, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 76c0b5a 035/192: temporarily disable org-mode link store prompt issue, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix e35ef5e 036/192: Merge branch 'release/v0.2.2', Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 96e8d37 037/192: Merge tag 'v0.2.2' into develop, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 97822f1 039/192: convert between librarie full name and abbrev., Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 9774c61 040/192: update elisp link matching regexp, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix c09f7ad 041/192: optimize open link function, Stefan Monnier, 2020/12/19
- [elpa] externals/kiwix 6e6959b 045/192: improve custom options, Stefan Monnier, 2020/12/19