浏览代码

org-colview: Fix defcustom type

* lisp/org-colview.el (org-columns-summary-types): Fix defcustom type.
Nicolas Goaziou 7 年之前
父节点
当前提交
7b1fabbf88
共有 1 个文件被更改,包括 5 次插入1 次删除
  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")))))