From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastien Newsgroups: gmane.emacs.help Subject: Re: Remove minibuffer message after appending to file Date: Wed, 7 Oct 2009 12:28:13 -0700 (PDT) Organization: http://groups.google.com Message-ID: <24821fdc-0f02-4315-99df-e9b9c78afe96@f10g2000vbf.googlegroups.com> References: <95b0bbb5-f63b-4428-8b5c-55e159998aa1@r36g2000vbn.googlegroups.com> <7rocok6qmg.fsf@xoc2.stanford.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1254946454 25350 80.91.229.12 (7 Oct 2009 20:14:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 Oct 2009 20:14:14 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 07 22:14:04 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mvctg-0000A2-Ar for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Oct 2009 22:14:04 +0200 Original-Received: from localhost ([127.0.0.1]:42690 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mvctf-0004e1-Nk for geh-help-gnu-emacs@m.gmane.org; Wed, 07 Oct 2009 16:14:03 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!f10g2000vbf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Original-NNTP-Posting-Host: 80.135.27.16 Original-X-Trace: posting.google.com 1254943693 1803 127.0.0.1 (7 Oct 2009 19:28:13 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 7 Oct 2009 19:28:13 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: f10g2000vbf.googlegroups.com; posting-host=80.135.27.16; posting-account=THFcTAkAAAAGrX5vZb0efnsEMAYWxKaT User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.14) Gecko/2009082707 Firefox/3.0.14,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:173653 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: news.gmane.org gmane.emacs.help:68744 Archived-At: On Oct 7, 1:37=A0am, Glenn Morris wrote: > > (defun my-append-to-file (start end filename) > =A0 "Like `append-to-file', but silent." > =A0 (interactive "r\nFAppend to file: ") > =A0 (write-region start end filename t 1)) > ; =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= ^ > ; =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= | It works fine using the fifth argument in the write-region call.