summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2020-07-08 00:11:34 -0400
committerKyle Meyer <kyle@kyleam.com>2020-07-08 00:11:34 -0400
commite62ca4a1bf576a2c498f47536d3f12cd698e3ac0 (patch)
tree7c28ecde6f82f16f5ecccdf1f76ea2d0a991a2d7
parent5d686811accf5af649f9afae92166d2df16e1a71 (diff)
downloadorg-mode-e62ca4a1bf576a2c498f47536d3f12cd698e3ac0.tar.gz
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 <philip@crabman.me> https://orgmode.org/list/7036d668-eb09-ba4d-0b46-503fbc4a50ce@crabman.me
-rw-r--r--lisp/org-attach.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/org-attach.el b/lisp/org-attach.el
index 6d5e5ba..1a42217 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."