Skip to content

Commit

Permalink
tweak(init): use lisp-interaction-mode for scratch
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed May 25, 2023
1 parent 6fc983d commit 5f755e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.el
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
;; evaluate Elisp code, so we switch to Elisp mode in the scratch buffer
;; when Emacs is idle for 10 seconds.
(+eval-when-idle-for! 10.0
(setq initial-major-mode 'emacs-lisp-mode)
(setq initial-major-mode 'lisp-interaction-mode)
(with-current-buffer (get-scratch-buffer-create)
(emacs-lisp-mode))))

Expand Down

0 comments on commit 5f755e4

Please sign in to comment.