From e9e0cea26561be4d9d36d46ae4954d0777ea4675 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Thu, 11 Dec 2014 13:03:19 +0900 Subject: [PATCH] emacs.el: Print message on toggling eshell-text-mode --- emacs.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/emacs.el b/emacs.el index e856160..6882a3a 100644 --- a/emacs.el +++ b/emacs.el @@ -1914,9 +1914,11 @@ Optional prefix ARG says how many lines to unflag; default is one line." (cond ((eq major-mode 'eshell-text-mode) (goto-char (point-max)) + (message "Eshell text mode disabled") (eshell-mode)) ((eq major-mode 'eshell-mode) + (message "Eshell text mode enabled") (eshell-text-mode)) (t (message "Not in eshell buffer")