From: Eshel Yaron Date: Thu, 17 Apr 2025 08:04:00 +0000 (+0200) Subject: (get-scratch-buffer-create): Don't set 'trusted-content' X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5713b1e928a10918a41e250dd473300acc33c8fa;p=emacs.git (get-scratch-buffer-create): Don't set 'trusted-content' --- 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 ()