From e62ca4a1bf576a2c498f47536d3f12cd698e3ac0 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Wed, 8 Jul 2020 00:11:34 -0400 Subject: [PATCH] org-attach: Fix :type for org-attach-use-inheritance * lisp/org-attach.el (org-attach-use-inheritance): Drop repeated :type keyword that incorrectly marked the option as boolean. Reported-by: Philip Blagoveschensky https://orgmode.org/list/7036d668-eb09-ba4d-0b46-503fbc4a50ce@crabman.me --- lisp/org-attach.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/org-attach.el b/lisp/org-attach.el index 6d5e5ba40..1a42217af 100644 --- a/lisp/org-attach.el +++ b/lisp/org-attach.el @@ -128,8 +128,7 @@ Selective means to respect the inheritance setting in :type '(choice (const :tag "Don't use inheritance" nil) (const :tag "Inherit parent node attachments" t) - (const :tag "Respect org-use-property-inheritance" selective)) - :type 'boolean) + (const :tag "Respect org-use-property-inheritance" selective))) (defcustom org-attach-store-link-p nil "Non-nil means store a link to a file when attaching it."