From 935f71ddf21cfdf7f1b2f789fc2f4808ba49fa67 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Thu, 28 Mar 2019 16:30:08 +0900 Subject: [PATCH] Disallow message buffer killing --- emacs.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/emacs.el b/emacs.el index b8e5675..7fb0d02 100644 --- a/emacs.el +++ b/emacs.el @@ -226,6 +226,9 @@ found, otherwise returns nil." ;; (view-emacs-news) )) +(with-current-buffer "*Messages*" + (emacs-lock-mode 'kill)) + (cd ".") ; when using windows use / instead of \ in `default-directory' ;; locale