bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#40671: [DOC] modify literal objects


From: Mattias Engdegård
Subject: bug#40671: [DOC] modify literal objects
Date: Fri, 17 Apr 2020 18:37:23 +0200

tags 40671 patch
stop

[Sorry about the truncated message.]

> Can we modify literal objects? 

No, and the manual should do a much better job at explaining this. At the very 
least it should not promulgate bad ideas by including mutation of literals in 
example code. Patch attached, suggested for emacs-27.

We should not even try to show what happens when the user breaks the rule, 
because it is undefined.


Attachment: 0001-Don-t-mutate-literals-in-manual-examples-bug-40671.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]