Browse Source

org-colview: Fix defcustom type

* lisp/org-colview.el (org-columns-summary-types): Fix defcustom type.
Nicolas Goaziou 7 years ago
parent
commit
7b1fabbf88
1 changed files with 5 additions and 1 deletions
  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"
   :version "26.1"
   :package-version '(Org . "9.0")
   :package-version '(Org . "9.0")
   :type '(alist :key-type (string :tag "       Label")
   :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")))))