From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Joe Corneli Newsgroups: gmane.emacs.help Subject: Re: defadvising `write-region' to be silent Date: Sun, 29 Aug 2004 21:00:50 -0500 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1093831293 23295 80.91.224.253 (30 Aug 2004 02:01:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 30 Aug 2004 02:01:33 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 30 04:01:26 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 1C1bU5-0004bi-00 for ; Mon, 30 Aug 2004 04:01:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C1bYt-0000sF-DN for geh-help-gnu-emacs@m.gmane.org; Sun, 29 Aug 2004 22:06:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C1bYl-0000rI-AA for help-gnu-emacs@gnu.org; Sun, 29 Aug 2004 22:06:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C1bYj-0000ot-Jw for help-gnu-emacs@gnu.org; Sun, 29 Aug 2004 22:06:14 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C1bYj-0000oQ-Fz for help-gnu-emacs@gnu.org; Sun, 29 Aug 2004 22:06:13 -0400 Original-Received: from [146.6.139.124] (helo=dell3.ma.utexas.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C1bTZ-0002QZ-Oy for help-gnu-emacs@gnu.org; Sun, 29 Aug 2004 22:00:54 -0400 Original-Received: from linux183.ma.utexas.edu (mail@linux183.ma.utexas.edu [146.6.139.172]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id i7U20qF26343; Sun, 29 Aug 2004 21:00:52 -0500 Original-Received: from jcorneli by linux183.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1C1bTW-0008Je-00; Sun, 29 Aug 2004 21:00:50 -0500 Original-To: help-gnu-emacs@gnu.org X-all-your-base-are-belong-to-us: You are on the way to destruction. 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: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:20371 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20371 Can't you just add a call to `not-modified' to the false branch of the advised write-file? Worked like a charm, thanks.