From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Brauer Subject: Re: export to latex, make-backup-files, vc-make-backup-files Date: Fri, 21 Jun 2019 17:22:11 +0200 Message-ID: <87d0j7j74s.fsf@mat.ucm.es> References: <8736k3ktwt.fsf@mat.ucm.es> <878stvrnue.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:55971) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1heLMs-0000KR-PT for emacs-orgmode@gnu.org; Fri, 21 Jun 2019 11:22:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1heLMr-00040D-FZ for emacs-orgmode@gnu.org; Fri, 21 Jun 2019 11:22:22 -0400 Received: from [195.159.176.226] (port=59772 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1heLMr-0003yV-7y for emacs-orgmode@gnu.org; Fri, 21 Jun 2019 11:22:21 -0400 Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1heLMp-000m5C-Gq for emacs-orgmode@gnu.org; Fri, 21 Jun 2019 17:22:19 +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" To: emacs-orgmode@gnu.org >>> "FE" == Fraga, Eric writes: > On Friday, 21 Jun 2019 at 14:24, Uwe Brauer wrote: >> I even set in my orgfile >> >> #+BEGIN_SRC emacs-lisp >> (set (make-local-variable 'make-backup-files) nil) >> #+END_SRC > but this will not affect the setting of that variable for the .tex file, > only the current org file where you execute this lisp code, which is why > you get the backup copy being made. But the .tex file is under VC control, so no backup copy should be made, since vc-make-backup-files nil (but that may only apply I make in the file) Do you have any idea how to avoid the creation of the backup files, without setting the make-backup-files variable globally to nil.