Subject: 29.0.50; fix parens of display-buffer-alist in emacs docs

From: [email-masked]
Date: Mon, 18 Oct 2021 18:43:14 +0000

The section "20.6.1 How display-buffer works" of the Emacs manual has an
example wich creates a malformed alist, whose first element is a string
instead of a list. This value is used to customize display-buffer-alist.

In other sections of the manual, like "20.6.2 Displaying non-editable
buffers.", the alist is correctly formed.

The attachment is a patch with the fix.

Huge thanks for all your work :)
¡Abrazos! Pedro.

In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 
3.24.30, cairo version 1.17.4)
  of 2021-10-14 built on pedro-latitude5411
Repository revision: 8785d70601c5ef02f20604dc3cd85d6c73d7aef7
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 
11.0.12013000
System Description: Manjaro Linux
From 90582641572e9ef7528580bbc3f5239b20d877fb Mon Sep 17 00:00:00 2001
From: Pedro Mauro <[email-masked]>
Date: Mon, 18 Oct 2021 15:41:40 -0300
Subject: [PATCH] ; * doc/emacs/windows.texi: Doc fix.

---
 doc/emacs/windows.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/emacs/windows.texi b/doc/emacs/windows.texi
index facbc7f3ed..8cb88a2095 100644
--- a/doc/emacs/windows.texi
+++ b/doc/emacs/windows.texi
@@ -444,7 +444,7 @@ Window Choice
 @group
 (customize-set-variable
  'display-buffer-alist
- '("\\*scratch\\*" (display-buffer-same-window)))
+ '(("\\*scratch\\*" (display-buffer-same-window))))
 @end group
 @end example
 
-- 
2.33.0