org-collector.el: Inhibit lisp evaluation of headlines
* contrib/lisp/org-collector.el (org-propview-collect): Inhibit lisp evaluation of headlines This fixes org-collector usage for items starting with a hyperlink, which would be incorrectly treated as lisp code.
This commit is contained in:
parent
4323db60c5
commit
fd4ade40ed
|
@ -186,7 +186,8 @@ variables and values specified in props"
|
||||||
(header-props
|
(header-props
|
||||||
(mapcar (lambda (props)
|
(mapcar (lambda (props)
|
||||||
(mapcar (lambda (pair)
|
(mapcar (lambda (pair)
|
||||||
(cons (car pair) (org-babel-read (cdr pair))))
|
(let ((inhibit-lisp-eval (string= (car pair) "ITEM")))
|
||||||
|
(cons (car pair) (org-babel-read (cdr pair) inhibit-lisp-eval))))
|
||||||
props))
|
props))
|
||||||
header-props))
|
header-props))
|
||||||
;; collect all property names
|
;; collect all property names
|
||||||
|
|
Loading…
Reference in New Issue