help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Active processes exist", can I answer yes by default?


From: Daniel Jensen
Subject: Re: "Active processes exist", can I answer yes by default?
Date: Fri, 13 Apr 2007 19:24:25 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux)

Ismael Valladolid Torres <ivalladt@punkass.com> writes:

> Whenever a shell is active and I quit Emacs, I get this message:
>
> "Active processes exist; kill them and exit anyway? (yes or no)"
>
> I always answer yes so I wonder if there's any chance of making it
> being answered yes by default so I am never asked.

This is what I use:

(add-hook 'shell-mode-hook
          (lambda ()
            (set-process-query-on-exit-flag
              (get-buffer-process (current-buffer)) nil)))

It is only in effect for shell mode, because I want Emacs to query me
for other processes.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]