瀏覽代碼

Revert ""cite" link type in contrib/org-bibtex-extras"

This reverts commit 03c141a00e38d66f29f84950002fea0b10d5816f.
Eric Schulte 11 年之前
父節點
當前提交
97e8bc15e7
共有 1 個文件被更改,包括 0 次插入8 次删除
  1. 0 8
      contrib/lisp/org-bibtex-extras.el

+ 0 - 8
contrib/lisp/org-bibtex-extras.el

@@ -96,14 +96,6 @@ For example, to point to your `obe-bibtex-file' use the following.
       (outline-previous-visible-heading 1)
       t)))
 
-(defun obe-citation-export (path desc format)
-  (cond
-   ((eq format 'html)  (format "<i>%s</i>" desc))
-   ((eq format 'latex) (format "\\cite{%s}" path))
-   (t desc)))
-
-(org-add-link-type "cite" 'obe-goto-citation 'obe-citation-export)
-
 (defun obe-html-export-citations ()
   "Convert all \\cite{...} citations in the current file into HTML links."
   (save-excursion