From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug? Setting #+OPTIONS: title:nil Seems to Be Ignored in HTML Export. Date: Tue, 01 Aug 2017 10:15:28 +0200 Message-ID: <87379bu2jj.fsf@nicolasgoaziou.fr> References: <71359491574f233bd37d0804042fb701@wilkesley.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41110) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dcSKz-0005gi-NI for emacs-orgmode@gnu.org; Tue, 01 Aug 2017 04:15:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dcSKy-00037D-TF for emacs-orgmode@gnu.org; Tue, 01 Aug 2017 04:15:33 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:34098) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dcSKy-00033r-Mm for emacs-orgmode@gnu.org; Tue, 01 Aug 2017 04:15:32 -0400 In-Reply-To: (Kaushal Modi's message of "Mon, 31 Jul 2017 18:33:50 +0000") 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: Kaushal Modi Cc: emacs-orgmode@gnu.org, lists@wilkesley.net Hello, Kaushal Modi writes: > From e57e9e798dd1a54cae7a633fc67e2f825b967eea Mon Sep 17 00:00:00 2001 > From: Kaushal Modi > Date: Mon, 31 Jul 2017 14:30:40 -0400 > Subject: [PATCH] Respect :with-title in ox-html > > * lisp/ox-html.el (org-html--build-meta-info): Do not insert > tag in HTML export if :with-title property is nil. Example: by > setting #+OPTIONS: title:nil [...] > + (when (plist-get info :with-title) > + (format "<title>%s\n" title)) I would use `and' instead of `when' to stress the fact that we're interested in the return value. Otherwise, LGTM. Thank you. -- Nicolas Goaziou