From 4154a85d813d94726fbcc5adb824d42d234786c6 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Wed, 22 Dec 2021 18:37:31 +0800 Subject: [PATCH] Disable by default and add NEWS entry to the new completion behavior * etc/NEWS: Announce 'completion-auto-select'. * lisp/simple.el (completion-auto-select): Default to nil. --- etc/NEWS | 4 ++++ lisp/simple.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/etc/NEWS b/etc/NEWS index 57fe40c4881..f41d49e224f 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -301,6 +301,10 @@ case keys. This command increases (or decreases) the number of empty lines before point. +** The *Completions* buffer can now be automatically selected +To enable this behavior, customize the option 'completion-auto-select' +to t. + --- *** Improved mouse behavior with auto-scrolling modes. When clicking inside the 'scroll-margin' or 'hscroll-margin' region diff --git a/lisp/simple.el b/lisp/simple.el index eb21814a3d4..13fbc6ac399 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -9259,7 +9259,7 @@ Called from `temp-buffer-show-hook'." :version "22.1" :group 'completion) -(defcustom completion-auto-select t +(defcustom completion-auto-select nil "Non-nil means to automatically select the completions buffer." :type 'boolean :version "29.1" -- 2.39.2