[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master c3ab8f1: Improve buffer-match-p documentation
From: |
Eli Zaretskii |
Subject: |
Re: master c3ab8f1: Improve buffer-match-p documentation |
Date: |
Sat, 16 Apr 2022 11:40:53 +0300 |
> diff --git a/lisp/window.el b/lisp/window.el
> index 2da2f8b..ea90995 100644
> --- a/lisp/window.el
> +++ b/lisp/window.el
> @@ -7495,14 +7495,14 @@ display-buffer-fallback-action
> `display-buffer'.")
> (put 'display-buffer-fallback-action 'risky-local-variable t)
>
> -(defun display-buffer-assq-regexp (buffer-name alist action)
> +(defun display-buffer-assq-regexp (buffer-or-name alist action)
> "Retrieve ALIST entry corresponding to BUFFER-NAME.
> -This returns the cdr of the alist entry ALIST if either its key
> -satisfied a BUFFER-NAME per `buffer-match'. ACTION should have
> -the form of the action argument passed to `display-buffer'."
> +This returns the cdr of the alist entry ALIST if key and
> +buffer-or-name satisfy `buffer-match-p'. ACTION should have the
> +form of the action argument passed to `display-buffer'."
I fixed some minor issues with the modified doc string, but that still
leaves one question unanswered: what does this function return if no
alist entry satisfies buffer-match-p? That should be documented.
Thanks.
- Re: master c3ab8f1: Improve buffer-match-p documentation, (continued)
Re: master c3ab8f1: Improve buffer-match-p documentation, Eli Zaretskii, 2022/04/16
Re: master c3ab8f1: Improve buffer-match-p documentation,
Eli Zaretskii <=