From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Function call upon quit emacs Date: 01 Apr 2004 07:47:20 +0200 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <20040401012509.2061.qmail@web41406.mail.yahoo.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1080798506 12013 80.91.224.253 (1 Apr 2004 05:48:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 1 Apr 2004 05:48:26 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 01 07:48:22 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B8v3u-0004do-00 for ; Thu, 01 Apr 2004 07:48:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B8v1R-0000ea-69 for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Apr 2004 00:45:49 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B8v0z-0000dK-5o for help-gnu-emacs@gnu.org; Thu, 01 Apr 2004 00:45:21 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B8v0S-0000Dz-D0 for help-gnu-emacs@gnu.org; Thu, 01 Apr 2004 00:45:19 -0500 Original-Received: from [207.232.27.5] (helo=WST0054) by monty-python.gnu.org with asmtp (Exim 4.30) id 1B8v0R-0000Bt-IX for help-gnu-emacs@gnu.org; Thu, 01 Apr 2004 00:44:47 -0500 Original-To: help-gnu-emacs@gnu.org In-reply-to: <20040401012509.2061.qmail@web41406.mail.yahoo.com> (message from Ryan Bowman on Wed, 31 Mar 2004 17:25:09 -0800 (PST)) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:17681 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17681 > Date: Wed, 31 Mar 2004 17:25:09 -0800 (PST) > From: Ryan Bowman > > Does anyone know if there is a way to have emacs run a > function before it quits? Something like a quit emacs > hook? You want kill-emacs-hook, I think.