From 74a6fd598a03d8d981c21267e9aa25e73d125bcd Mon Sep 17 00:00:00 2001 From: Wetlize Date: Wed, 25 Aug 2021 19:00:50 +0300 Subject: [PATCH] (fix)org-id-locations-file: use :test instead of :type when recovering The latter is incorrect construct for the make-hash-table. --- org-roam-compat.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org-roam-compat.el b/org-roam-compat.el index 76ab705..7bd51f0 100644 --- a/org-roam-compat.el +++ b/org-roam-compat.el @@ -109,7 +109,7 @@ passed to it." (unless result (unless org-id-locations ;; Pre-allocate the hash table to avoid weird access related errors during the regeneration. - (setq org-id-locations (make-hash-table :type 'equal))) + (setq org-id-locations (make-hash-table :test 'equal))) ;; `org-id' makes the assumption that `org-id-locations-file' will be stored in `user-emacs-directory' ;; which always exist if you have Emacs, so it uses `with-temp-file' to write to the file. However, ;; the users *do* change the path to this file and `with-temp-file' unable to create the file, if the