]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix wording of recently added documentation
authorEli Zaretskii <eliz@gnu.org>
Thu, 1 May 2025 14:42:12 +0000 (17:42 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sat, 10 May 2025 06:53:49 +0000 (08:53 +0200)
* lisp/window.el (display-buffer):
* doc/lispref/windows.texi (Buffer Display Action Alists): Fix wording.

(cherry picked from commit 75870a7ad184be7a8fe0a8e0497665a3b04cd6fa)

doc/lispref/windows.texi
lisp/window.el

index 96b97d0cffbdfc62a040aa4d5c3d79a7b8061cbf..1c5a7264d3ab7a0e64de06cce179a3986e557aaf 100644 (file)
@@ -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.
index 746133005be1ba7a7cb4d49442d3a154f74e3a81..eccd6bb9d9a4bc4adf3a24646e043a752512a267 100644 (file)
@@ -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.