From 8f3b8a5f42fe223012cfa6e84f0d079c49595f56 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Fri, 25 Jun 2010 00:51:14 +0300 Subject: [PATCH] * lisp/minibuffer.el (completions-format): Change default from nil to `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459) --- lisp/ChangeLog | 5 +++++ lisp/minibuffer.el | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6e19fb7b650..4e2b7028dd7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-06-24 Juri Linkov + + * minibuffer.el (completions-format): Change default from nil to + `horizontal'. Remove `nil' value from :type. Doc fix. (Bug#6459) + 2010-06-24 Juri Linkov * vc/vc.el (vc-diff-internal): Set `revert-buffer-function' diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index 646b773caf2..3f22099bfd1 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el @@ -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") -- 2.39.2