* lisp/minibuffer.el (completions-format): Change default from nil to
authorJuri Linkov <juri@jurta.org>
Thu, 24 Jun 2010 21:51:14 +0000 (00:51 +0300)
committerJuri Linkov <juri@jurta.org>
Thu, 24 Jun 2010 21:51:14 +0000 (00:51 +0300)
`horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)

lisp/ChangeLog
lisp/minibuffer.el

index 6e19fb7..4e2b702 100644 (file)
@@ -1,3 +1,8 @@
+2010-06-24  Juri Linkov  <juri@jurta.org>
+
+       * minibuffer.el (completions-format): Change default from nil to
+       `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
+
 2010-06-24  Juri Linkov  <juri@jurta.org>
 
        * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
index 646b773..3f22099 100644 (file)
@@ -891,13 +891,13 @@ Return nil if there is no valid completion, else t."
 (defface completions-annotations '((t :inherit italic))
   "Face to use for annotations in the *Completions* buffer.")
 
-(defcustom completions-format nil
+(defcustom completions-format 'horizontal
   "Define the appearance and sorting of completions.
 If the value is `vertical', display completions sorted vertically
 in columns in the *Completions* buffer.
-If the value is `horizontal' or nil, display completions sorted
+If the value is `horizontal', display completions sorted
 horizontally in alphabetical order, rather than down the screen."
-  :type '(choice (const nil) (const horizontal) (const vertical))
+  :type '(choice (const horizontal) (const vertical))
   :group 'minibuffer
   :version "23.2")