Minor fix.  Thanks!

Joseph

>From 5451da0d798f104e9a0d87445c516fd89e473a38 Mon Sep 17 00:00:00 2001
From: Joseph Turner <jos...@breatheoutbreathe.in>
Date: Thu, 19 Dec 2024 13:16:50 -0800
Subject: [PATCH] org-info-other-documents: Fix defcustom safe-local-variable
 property

:safe should be a function.
---
 lisp/ol-info.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/ol-info.el b/lisp/ol-info.el
index fa9b23b84..b4e993a0b 100644
--- a/lisp/ol-info.el
+++ b/lisp/ol-info.el
@@ -149,7 +149,7 @@ (defcustom org-info-other-documents
   :group 'org-link
   :type '(alist :key-type string :value-type string)
   :package-version '(Org . "9.7")
-  :safe t)
+  :safe #'listp)
 
 (defun org-info-map-html-url (filename)
   "Return URL or HTML file associated to Info FILENAME.
-- 
2.46.0

Reply via email to