浏览代码

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
racin 12 年之前
父节点
当前提交
e91a5dd33f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lisp/org-bibtex.el

+ 1 - 1
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)