From: Eli Zaretskii Date: Thu, 1 May 2025 14:42:12 +0000 (+0300) Subject: ; Fix wording of recently added documentation X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3ee565e7864fa42f4817cd174f0edfb9614fde9a;p=emacs.git ; Fix wording of recently added documentation * lisp/window.el (display-buffer): * doc/lispref/windows.texi (Buffer Display Action Alists): Fix wording. (cherry picked from commit 75870a7ad184be7a8fe0a8e0497665a3b04cd6fa) --- diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi index 96b97d0cffb..1c5a7264d3a 100644 --- a/doc/lispref/windows.texi +++ b/doc/lispref/windows.texi @@ -3917,8 +3917,8 @@ entry in @code{display-buffer-alist}. @vindex this-command@r{, a buffer display action alist entry} @item this-command -The value is a symbol naming a command or a list of such symbols. It -means the condition when that command, or any of those commands, are now +The value is a symbol naming a command or a list of command symbols. It +represents the condition which is satisfied if any of those commands are being executed. You can use this in the condition part of @code{display-buffer-alist} entries to match buffers displayed during the execution of particular commands. diff --git a/lisp/window.el b/lisp/window.el index 746133005be..eccd6bb9d9a 100644 --- a/lisp/window.el +++ b/lisp/window.el @@ -8185,8 +8185,8 @@ Action alist entries are: the displayed buffer by using the same category in the condition part of `display-buffer-alist' entries. `this-command' -- A symbol naming the command now being executed, or a - list of such symbols to mean the condition when any of those commands - are now being executed. + list of command symbols, to mean the condition that any of those + commands are being executed. You can use this in the condition part of `display-buffer-alist' entries to match buffers displayed by particular commands.