Function: org-bibtex-put
org-bibtex-put is a byte-compiled function defined in ol-bibtex.el.gz.
Signature
(org-bibtex-put PROPERTY VALUE &optional INSERT-RAW)
Documentation
Set PROPERTY of headline at point to VALUE.
The PROPERTY will be prefixed with org-bibtex-prefix when necessary.
With non-nil optional argument INSERT-RAW, insert node property string
at point.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ol-bibtex.el.gz
(defun org-bibtex-put (property value &optional insert-raw)
"Set PROPERTY of headline at point to VALUE.
The PROPERTY will be prefixed with `org-bibtex-prefix' when necessary.
With non-nil optional argument INSERT-RAW, insert node property string
at point."
(let* ((prop (upcase (if (keywordp property)
(substring (symbol-name property) 1)
property)))
(prop (concat (unless (string= org-bibtex-key-property prop)
org-bibtex-prefix)
prop)))
(if insert-raw
(insert (format ":%s: %s\n" prop value))
(org-set-property prop value))))