]> git.eshelyaron.com Git - emacs.git/commit
trusted-content: Adjust the last patch based on preliminary feedback
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 15 Dec 2024 22:05:55 +0000 (17:05 -0500)
committerEshel Yaron <me@eshelyaron.com>
Mon, 23 Dec 2024 14:59:18 +0000 (15:59 +0100)
commit4844414caa4fecbbe8b4d6b162ddbb40573d28c9
tree83520029519e7bed3e25a7ce23b13768c7e33948
parentf5f1c9aa9b7c82a515f7951d8e8cd338eab74c30
trusted-content: Adjust the last patch based on preliminary feedback

* lisp/files.el (trusted-content): Rename from `trusted-files`.
Update all references.

* lisp/progmodes/elisp-mode.el (lisp-interaction-mode):
* lisp/ielm.el (inferior-emacs-lisp-mode):
* lisp/simple.el (read--expression): Set `trusted-content` since
these buffers contain code that the user presumably intends to run anyway.
(elisp--safe-macroexpand-all): Make the warning more discreet.

(cherry picked from commit 8b6c6cffd1f772301e89353de5e057835af18a30)
lisp/files.el
lisp/ielm.el
lisp/progmodes/elisp-mode.el
lisp/simple.el