From 27fa176d0f9b39637521e98e46eae4806d2fb71d Mon Sep 17 00:00:00 2001 From: Sergiu Ivanov Date: Sun, 22 Mar 2020 21:01:51 +0100 Subject: [PATCH] utils: Make read-org-variable-mapping return an immutable hash. --- utils.rkt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.rkt b/utils.rkt index 53eb1c9..f4903db 100644 --- a/utils.rkt +++ b/utils.rkt @@ -222,7 +222,7 @@ ;;; Reads a variable mapping from a string, such as the one which ;;; Org-mode produces from tables. (define (read-org-variable-mapping str) - (make-hash (unstringify-pairs (read-org-sexp str)))) + (make-immutable-hash (unstringify-pairs (read-org-sexp str)))) ;;; A synonym for read-org-variable-mapping. (define-syntax-rule (unorg str) (read-org-variable-mapping str))