Revert "Revert "make the "FILE" property non-special when resolving bibtex values""

This reverts commit 4b423ac3cb.
This commit is contained in:
Eric Schulte 2011-08-23 14:44:09 -06:00
parent 08ca5be491
commit 1833a9c1b4
1 changed files with 5 additions and 2 deletions

View File

@ -278,8 +278,11 @@ This variable is relevant only if `org-bibtex-export-tags-as-keywords` is t."
;;; Utility functions ;;; Utility functions
(defun org-bibtex-get (property) (defun org-bibtex-get (property)
((lambda (it) (when it (org-babel-trim it))) ((lambda (it) (when it (org-babel-trim it)))
(or (org-entry-get (point) (upcase property)) (let ((org-special-properties
(org-entry-get (point) (concat org-bibtex-prefix (upcase property)))))) (delete "FILE" (copy-sequence org-special-properties))))
(or
(org-entry-get (point) (upcase property))
(org-entry-get (point) (concat org-bibtex-prefix (upcase property)))))))
(defun org-bibtex-put (property value) (defun org-bibtex-put (property value)
(let ((prop (upcase (if (keywordp property) (let ((prop (upcase (if (keywordp property)