Subject: Re: bug#28700: 25.2; Cannot kill Eshell buffer

From: martin rudalics <[email-masked]>
Date: Thu, 05 Oct 2017 10:09:04 +0200

>                run-hooks: Text is read-only
 >
 >          `kill-buffer-hook` is:
 >
 > kill-buffer-hook is a variable defined in ‘files.el’.
 > Its value is (t eshell-kill-buffer-function)
 > Local in buffer *eshell*; global value is
 > (tramp-delete-temp-file-function uniquify-kill-buffer-function vc-kill-buffer-hook)

Set ‘kill-buffer-hook’ to nil when this happens to find out whether some
local binding creates any difficulties.  If this is not the case,
gradually re-add each of the elements above to see which one causes the
problem.

martin