]> git.eshelyaron.com Git - emacs.git/commitdiff
(get-scratch-buffer-create): Don't set 'trusted-content'
authorEshel Yaron <me@eshelyaron.com>
Thu, 17 Apr 2025 08:04:00 +0000 (10:04 +0200)
committerEshel Yaron <me@eshelyaron.com>
Thu, 17 Apr 2025 08:04:00 +0000 (10:04 +0200)
lisp/simple.el

index d77561d3e89f75c99e044f20d05041002275f4d3..34b34426b748fc797753c04492c25cae85bfe742 100644 (file)
@@ -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 ()