From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: [PATCH] Remove unecesssary invocations of org-mode in ox-publish Date: Tue, 29 Jul 2014 10:12:31 -0500 Message-ID: <87oaw8nqqo.fsf@fastmail.fm> References: <87mwbsn40z.fsf@fastmail.fm> <871tt4fggm.fsf@bzg.ath.cx> <87zjfsnsyf.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46889) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XC94y-0006UC-8z for emacs-orgmode@gnu.org; Tue, 29 Jul 2014 11:12:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XC94s-0002TB-Ne for emacs-orgmode@gnu.org; Tue, 29 Jul 2014 11:12:40 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:57697) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XC94s-0002T4-KZ for emacs-orgmode@gnu.org; Tue, 29 Jul 2014 11:12:34 -0400 In-Reply-To: <87zjfsnsyf.fsf@fastmail.fm> (Matt Lundin's message of "Tue, 29 Jul 2014 10:03:21 -0500") 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: Org Mode Matt Lundin writes: > Bastien writes: > >> Hi Matt, >> >> Matt Lundin writes: >> >>> This patch fixes a bug in which org-publish makes the following call... >>> (let ((org-inhibit-startup t) (org-mode))) >> >> Applied, thanks! > > This could be solved by wrapping org-export-get-environment withing > those functions with (let ((buffer-read-only nil)) ...). Correction... this should be... (let ((inhibit-read-only t)) ...) Correction is for the record only, as this is moot given the rest of the email. Matt