Browse Source

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 5 years ago
parent
commit
e91a5dd33f
1 changed files with 1 additions and 1 deletions
  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)