utils: Make read-org-variable-mapping return an immutable hash.
This commit is contained in:
parent
b0eb81b051
commit
27fa176d0f
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue