Fix the dependencies missing in bibtex layer.

This commit is contained in:
Peng Liu 2016-05-19 16:13:32 +08:00 committed by syl20bnr
parent 303e76b769
commit 584cae8d6f

View file

@ -15,6 +15,9 @@
org
org-ref
markdown-mode
helm-bibtex
biblio
biblio-core
))
(defun bibtex/post-init-auctex ()
@ -71,6 +74,14 @@
"li" 'isbn-to-bibtex
"lp" 'pubmed-insert-bibtex-from-pmid))))
(defun bibtex/post-init-org-ref ()
(add-hook 'org-mode-hook (lambda () (require 'org-ref))))
(defun bibtex/post-init-markdown-mode ()
(spacemacs/set-leader-keys-for-major-mode 'markdown-mode
"ic" 'org-ref-helm-insert-cite-link))
(defun bibtex/init-helm-bibtex ())
(defun bibtex/init-biblio ())
(defun bibtex/init-biblio-core ())