emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] 09/21: company-transformers: improve the defcustom widget


From: Dmitry Gutov
Subject: [elpa] 09/21: company-transformers: improve the defcustom widget
Date: Mon, 03 Feb 2014 17:36:16 +0000

dgutov pushed a commit to branch master
in repository elpa.

commit ffdbd79b2c9d0bc5620095173ca90a453889e626
Author: Dmitry Gutov <address@hidden>
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

[Prev in Thread] Current Thread [Next in Thread]