Author: Rupert SwarbrickRupert Swarbrick Date: Aug 22, 2008 10:09
which seems to work here. Clearly you'll want to edit
savable-shell-modes and possibly change more than that... But there's a
quick start I think.
Rupert
"Rustom Mody" gmail.com> writes:
> Some buffers can be closed without any questions but for some --
> typically file buffers -- if a changed buffer is (tried to be) closed,
> a question is asked: Do you want save this...??
>
> I want to get this question for python-mode, shell-mode etc. Is there
> some option for this?
>
> Thanks.
Looking at C-h f kill-buffer, I see that kill-buffer-query-functions is
called on kill, but my emacs only has=20
(gnuserv-kill-buffer-query-function)
in there, so it can't be that which checks whether you want to save
dirty files...
However, I just hacked this up:
|