From mboxrd@z Thu Jan 1 00:00:00 1970 From: regcl Subject: Re: eliminate creation of backup files in :publishing-directory Date: Wed, 06 Aug 2014 18:00:13 -0400 Message-ID: <8738d91doy.fsf@channing.harvard.edu> References: <87tx7gebgw.fsf@channing.harvard.edu> <87a991l6ie.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37305) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XF9Jj-0002zQ-9h for emacs-orgmode@gnu.org; Wed, 06 Aug 2014 18:04:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XF9Jd-0003H2-DN for emacs-orgmode@gnu.org; Wed, 06 Aug 2014 18:04:19 -0400 Received: from mail-qg0-f47.google.com ([209.85.192.47]:32901) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XF9Jd-0003Gq-9c for emacs-orgmode@gnu.org; Wed, 06 Aug 2014 18:04:13 -0400 Received: by mail-qg0-f47.google.com with SMTP id i50so3495863qgf.34 for ; Wed, 06 Aug 2014 15:04:12 -0700 (PDT) In-Reply-To: <87a991l6ie.fsf@bzg.ath.cx> (Bastien's message of "Wed, 25 Jun 2014 10:48:09 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: emacs-orgmode@gnu.org > regcl writes: > >> Is there a way to stop org mode from creating backup files in the >> :publishing-directory? > > What are "backup files" exactly? e.g., the second time you run org-html-export-to-html or org-html-publish-to-html on README.org you get README.html -plus- README.html~. I would like to not produce README.html~. I believe there is a global emacs setting, but I would prefer to disable only those backups produced by org-html-export-to-html, etc. Thanks, regcl > > There is `org-publish-after-publishing-hook' which may help cleaning > up stuff if needed.