From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kester Clegg Newsgroups: gmane.emacs.help Subject: Re: key binding two commands Date: 21 Nov 2003 11:50:59 +0000 Organization: Rolls Royce UTC, Dept. of Computer Science, University of York, UK Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1069416154 15154 80.91.224.253 (21 Nov 2003 12:02:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 21 Nov 2003 12:02:34 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 21 13:02:31 2003 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 1AN9zb-00058E-00 for ; Fri, 21 Nov 2003 13:02:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ANAwR-0000K9-VM for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Nov 2003 08:03:19 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!news-out.cwix.com!newsfeed.cwix.com!newsfeed.icl.net!newsfeed.fjserv.net!xara.net!gxn.net!server6.netnews.ja.net!news.york.ac.uk!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-NNTP-Posting-Host: pc310.cs.york.ac.uk Original-X-Trace: pump1.york.ac.uk 1069415457 26563 144.32.40.101 (21 Nov 2003 11:50:57 GMT) Original-X-Complaints-To: abuse@york.ac.uk Original-NNTP-Posting-Date: 21 Nov 2003 11:50:57 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Xref: shelby.stanford.edu gnu.emacs.help:118530 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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:14470 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:14470 Reiner Steib <4.uce.03.r.s@nurfuerspam.de> writes: > But a better solution IMHO would be to advice `TeX-command-master': > > (defadvice TeX-command-master (around rs-TeX-command-master-save activate) > "Save buffer before `TeX-command-master'" > (message "Saving buffer") > (save-buffer) > ad-do-it) > > Bye, Reiner. Excellent - thanks for that. -- ************************************************************************ Kester Clegg Dept. of Computer Science, Research Assistant (UTC) University of York, Tel (01904) 43 27 49 email: kester at cs.york.ac.uk ************************************************************************