]> git.eshelyaron.com Git - emacs.git/commit
Don’t attempt to modify constant conses
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 17 May 2020 00:04:15 +0000 (17:04 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 17 May 2020 00:05:37 +0000 (17:05 -0700)
commitc7bc28bf038e08fcc03e5dc96cd762af06b34e09
tree378ddd85e5549bddeb5642314c8ac1627743e324
parenta6ebca21b349ccfffdc0d4b84578d4c7a0f3ee22
Don’t attempt to modify constant conses

From a patch privately suggested by Mattias Engdegård on 2020-05-11
in a followup to Bug#40671.
* admin/charsets/cp51932.awk:
* admin/charsets/eucjp-ms.awk:
Generate code that does not modify constant conses.
* doc/misc/emacs-mime.texi (Encoding Customization):
* lisp/emacs-lisp/byte-opt.el (byte-compile-side-effect-free-ops):
* lisp/frameset.el (frameset-persistent-filter-alist):
* lisp/gnus/gnus-sum.el (gnus-article-mode-line-format-alist):
Use append instead of nconc.
* lisp/language/japanese.el (japanese-ucs-cp932-to-jis-map)
(jisx0213-to-unicode):
Use mapcar instead of mapc.
* lisp/language/lao-util.el (lao-transcription-consonant-alist)
(lao-transcription-vowel-alist):
* lisp/language/tibetan.el (tibetan-subjoined-transcription-alist):
Use copy-sequence.
* test/src/fns-tests.el (fns-tests-nreverse):
(fns-tests-sort, fns-tests-collate-sort)
(fns-tests-string-version-lessp, fns-tests-mapcan):
Use copy-sequence, vector, and list.
admin/charsets/cp51932.awk
admin/charsets/eucjp-ms.awk
doc/misc/emacs-mime.texi
lisp/emacs-lisp/byte-opt.el
lisp/frameset.el
lisp/gnus/gnus-sum.el
lisp/language/japanese.el
lisp/language/lao-util.el
lisp/language/tibetan.el
test/src/fns-tests.el