From 5713b1e928a10918a41e250dd473300acc33c8fa Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Thu, 17 Apr 2025 10:04:00 +0200 Subject: [PATCH] (get-scratch-buffer-create): Don't set 'trusted-content' --- lisp/simple.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lisp/simple.el b/lisp/simple.el index d77561d3e89..34b34426b74 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -10858,9 +10858,7 @@ too short to have a dst element. (when initial-scratch-message (insert (substitute-command-keys initial-scratch-message)) (set-buffer-modified-p nil)) - (funcall initial-major-mode) - (when (eq initial-major-mode 'lisp-interaction-mode) - (setq-local trusted-content :all))) + (funcall initial-major-mode)) scratch))) (defun scratch-buffer () -- 2.39.5