diff options
author | Eric Schulte <schulte.eric@gmail.com> | 2011-07-18 11:26:41 -0600 |
---|---|---|
committer | Eric Schulte <schulte.eric@gmail.com> | 2011-07-18 11:26:48 -0600 |
commit | d017fe977f5ca8c01fa7355123039156f617ee8d (patch) | |
tree | f32a42656d49254919020ca229426125afe53d18 | |
parent | 5c53026d320b7716f9a28a0430fa021ad5b8d649 (diff) | |
download | org-mode-d017fe977f5ca8c01fa7355123039156f617ee8d.tar.gz |
org-bibtex: don't let trimming turn nils into empty strings
* lisp/org-bibtex.el (org-bibtex-get): Don't let trimming turn nils
into empty strings.
-rw-r--r-- | lisp/org-bibtex.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-bibtex.el b/lisp/org-bibtex.el index 71bebd6..6536917 100644 --- a/lisp/org-bibtex.el +++ b/lisp/org-bibtex.el @@ -278,7 +278,7 @@ This variable is relevant only if `org-bibtex-export-tags-as-keywords` is t." ;;; Utility functions (defun org-bibtex-get (property) - (org-babel-trim + ((lambda (it) (when it (org-babel-trim it))) (or (org-entry-get (point) (upcase property)) (org-entry-get (point) (concat org-bibtex-prefix (upcase property)))))) |