From ec9d5d23a29a907957513f08d2716734729a1555 Mon Sep 17 00:00:00 2001 From: v1j4y Date: Tue, 14 Sep 2021 09:56:31 +0200 Subject: [PATCH] Bug fix for get_value lisp function. --- tools/lib.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/lib.org b/tools/lib.org index 5cb1802..b7c6fc5 100644 --- a/tools/lib.org +++ b/tools/lib.org @@ -11,8 +11,8 @@ ** Function to get the value of a property. #+NAME: get_value #+begin_src elisp :var key="Type" -(setq x (org-property-values key)) -(pop x) +(org-with-point-at org-babel-current-src-block-location + (org-entry-get nil key t)) #+end_src #+RESULTS: get_value