From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: build-and-save-all Date: Thu, 02 Dec 2004 15:09:50 -0700 Message-ID: <319i5kF398ffhU1@individual.net> References: <3193e6F38p1g3U1@individual.net> <319hjsF38ml0oU1@individual.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1102025441 15461 80.91.229.6 (2 Dec 2004 22:10:41 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Dec 2004 22:10:41 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 02 23:10:37 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CZz9p-0001iw-00 for ; Thu, 02 Dec 2004 23:10:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CZzJN-0007q9-PB for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Dec 2004 17:20:29 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!newsmi-eu.news.garr.it!NewsITBone-GARR!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-X-Trace: individual.net fdpWG0TidLVlbNSMdH+frAmww8ivDeu8WntZdTvTtJHkAJCnM= User-Agent: Mozilla Thunderbird 0.9 (X11/20041105) X-Accept-Language: en-us, en In-Reply-To: <319hjsF38ml0oU1@individual.net> Original-Xref: shelby.stanford.edu gnu.emacs.help:127109 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:22525 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:22525 Kevin Rodgers wrote: > (defun compile-project () > "Compile the project to which this source file belongs." > (interactive) > ;; ./project.dir must be a symbolic link to the project directory: > (let ((default-directory (file-truename "project.dir"))) > (compile "make"))) I forgot the part about saving all the buffers: (defun compile-project () "Compile the project to which this source file belongs." (interactive) ;; ./project.dir must be a symbolic link to the project directory: (let ((default-directory (file-truename "project.dir")) (compilation-ask-about-save nil)) (compile "make"))) -- Kevin Rodgers