summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorracin <racin@free.fr>2013-01-30 10:42:17 (GMT)
committer Bastien Guerry <bzg@altern.org>2013-01-30 10:42:17 (GMT)
commite91a5dd33fa8b86aa252e79b8680fba53ea6aa0e (patch)
tree5d307b22ab3afd9f0936991e2a7d9b23f84a1e11
parent6d06bcfcbca93a05c43b0b5fb2a0e8b374da295c (diff)
downloadorg-mode-e91a5dd33fa8b86aa252e79b8680fba53ea6aa0e.zip
org-mode-e91a5dd33fa8b86aa252e79b8680fba53ea6aa0e.tar.gz
org-bibtex.el (org-bibtex-search): Don't throw an error when `org-bibtex-prefix' is nil
* org-bibtex.el (org-bibtex-search): Don't throw an error when `org-bibtex-prefix' is nil. TINYCHANGE
-rw-r--r--lisp/org-bibtex.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-bibtex.el b/lisp/org-bibtex.el
index 6827bda..704b204 100644
--- a/lisp/org-bibtex.el
+++ b/lisp/org-bibtex.el
@@ -679,7 +679,7 @@ This function relies `org-search-view' to locate results."
(org-agenda-search-view-always-boolean t))
(org-search-view nil
(format "%s +{:%s%s:}"
- string org-bibtex-prefix
+ string (or org-bibtex-prefix "")
org-bibtex-type-property-name))))
(provide 'org-bibtex)