branch: externals/kiwix commit 164cf9cbf3742ff43b06e5ed9546db81af1bea93 Author: stardiviner <numbch...@gmail.com> Commit: stardiviner <numbch...@gmail.com>
disable Wikipedia_Local link abbrev --- kiwix.el | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/kiwix.el b/kiwix.el index 0124a18..ce50a3f 100644 --- a/kiwix.el +++ b/kiwix.el @@ -189,13 +189,13 @@ for query string and library interactively." (add-hook 'org-store-link-functions 'org-wiki-store-link) ;; [[Wikipedia_Local:]] - (if (and - (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)) - ) + ;; (if (and + ;; (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)) + ;; ) ))