diff options
author | Aaron Ecay <aaronecay@gmail.com> | 2013-04-03 13:07:10 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2013-04-03 13:07:10 +0200 |
commit | 137fd35b6420eca1afadd3c62592bf68e26257da (patch) | |
tree | e00312eea167c41e153c36c204ee6701de2d4cff | |
parent | b70ec7a29c40ca80afb31f718f1820d0ac954b69 (diff) | |
download | org-mode-137fd35b6420eca1afadd3c62592bf68e26257da.tar.gz |
contrib/lisp/org-bibtex-extras.el: Replace non-existent `org-babel-clean-text-properties' with `org-no-properties'
* contrib/lisp/org-bibtex-extras.el (obe-citations)
(obe-get-meta-data): Replace non-existent
`org-babel-clean-text-properties' with `org-no-properties'.
TINYCHANGE
-rw-r--r-- | contrib/lisp/org-bibtex-extras.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/lisp/org-bibtex-extras.el b/contrib/lisp/org-bibtex-extras.el index e3c0f49..93c97a9 100644 --- a/contrib/lisp/org-bibtex-extras.el +++ b/contrib/lisp/org-bibtex-extras.el @@ -78,7 +78,7 @@ For example, to point to your `obe-bibtex-file' use the following. (find-file obe-bibtex-file) (goto-char (point-min)) (while (re-search-forward " :CUSTOM_ID: \\(.+\\)$" nil t) - (push (org-babel-clean-text-properties (match-string 1)) + (push (org-no-properties (match-string 1)) obe-citations)) obe-citations))) @@ -111,7 +111,7 @@ For example, to point to your `obe-bibtex-file' use the following. (when (obe-goto-citation citation) (let ((pt (point))) `((:authors . ,(split-string (org-entry-get pt "AUTHOR") " and " t)) - (:title . ,(org-babel-clean-text-properties (org-get-heading 1 1))) + (:title . ,(org-no-properties (org-get-heading 1 1))) (:journal . ,(org-entry-get pt "JOURNAL"))))))) (defun obe-meta-to-json (meta &optional fields) |