unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#51274: 29.0.50; fix parens of display-buffer-alist in emacs docs
@ 2021-10-18 18:43 pmauro
  2021-10-19  3:14 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: pmauro @ 2021-10-18 18:43 UTC (permalink / raw)
  To: 51274

[-- Attachment #1: Type: text/plain, Size: 786 bytes --]

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-doc-emacs-windows.texi-Doc-fix.patch --]
[-- Type: text/x-diff; name=0001-doc-emacs-windows.texi-Doc-fix.patch, Size: 685 bytes --]

From 90582641572e9ef7528580bbc3f5239b20d877fb Mon Sep 17 00:00:00 2001
From: Pedro Mauro <pedro.j.garcia@despegar.com>
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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#51274: 29.0.50; fix parens of display-buffer-alist in emacs docs
  2021-10-18 18:43 bug#51274: 29.0.50; fix parens of display-buffer-alist in emacs docs pmauro
@ 2021-10-19  3:14 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2021-10-19  3:14 UTC (permalink / raw)
  To: pmauro; +Cc: 51274

pmauro@posteo.net writes:

> 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.

Thanks; applied to Emacs 28 (which will later be merged with master).

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-19  3:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-18 18:43 bug#51274: 29.0.50; fix parens of display-buffer-alist in emacs docs pmauro
2021-10-19  3:14 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).