Explorar o código

org-colview: Fix defcustom type

* lisp/org-colview.el (org-columns-summary-types): Fix defcustom type.
Nicolas Goaziou %!s(int64=8) %!d(string=hai) anos
pai
achega
7b1fabbf88
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      lisp/org-colview.el

+ 5 - 1
lisp/org-colview.el

@@ -96,7 +96,11 @@ in `org-columns-summary-types-default', which see."
   :version "26.1"
   :package-version '(Org . "9.0")
   :type '(alist :key-type (string :tag "       Label")
-		:value-type (function :tag "Summarize")))
+		:value-type
+		(choice (function :tag "Summarize")
+			(list :tag "Collect and summarize"
+			      (function :tag "Summarize")
+			      (function :tag "Collect")))))