branch: elpa/magit
commit 18d649cf5041809f24352dcae9b75efae5d44d9c
Author: Jonas Bernoulli <jo...@bernoul.li>
Commit: Jonas Bernoulli <jo...@bernoul.li>

    magit-status-show-untracked-files: Fix custom type
---
 lisp/magit-status.el | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/lisp/magit-status.el b/lisp/magit-status.el
index 984e907d6e..f827de948d 100644
--- a/lisp/magit-status.el
+++ b/lisp/magit-status.el
@@ -174,8 +174,10 @@ of the work Git is responsible for.  Turning that list 
into sections is
 also not free, so Magit only lists `magit-status-file-list-limit' files."
   :package-version '(magit . "4.3.0")
   :group 'magit-status
-  :type 'boolean
-  :safe 'booleanp)
+  :type '(choice (const :tag "Do not list untracked files" nil)
+                 (const :tag "List mixture of files and directories" t)
+                 (const :tag "List individual files (slow)" all))
+  :safe (##memq % '(nil t all)))
 
 (defcustom magit-status-file-list-limit 100
   "How many files to list in file list sections in the status buffer.

Reply via email to