dgutov pushed a commit to branch master
in repository elpa.

commit ffdbd79b2c9d0bc5620095173ca90a453889e626
Author: Dmitry Gutov <[email protected]>
Date:   Fri Jan 31 07:09:29 2014 +0200

    company-transformers: improve the defcustom widget
---
 company.el |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/company.el b/company.el
index 224ef3d..4bccb6b 100644
--- a/company.el
+++ b/company.el
@@ -362,10 +362,10 @@ does not know about.  It should also be callable 
interactively and use
   "Functions to change the list of candidates received from backends,
 after sorting and removal of duplicates (if appropriate).
 Each function gets called with the return value of the previous one."
-  :type '(repeat
-          (choice
-           (const :tag "Sort by occurrence" 'company-sort-by-occurrence)
-           (function :tag "Custom function"))))
+  :type '(choice
+          (const :tag "None" nil)
+          (const :tag "Sort by occurrence" (company-sort-by-occurrence))
+          (repeat :tag "User defined" (function))))
 
 (defcustom company-completion-started-hook nil
   "Hook run when company starts completing.

Reply via email to