From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Welle Subject: org-publish-after-publishing-hook Date: Mon, 05 Sep 2016 13:28:33 +0200 Message-ID: <87y43637ry.fsf@luisa.c0t0d0s0.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56936) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgs4v-0000x4-Pn for emacs-orgmode@gnu.org; Mon, 05 Sep 2016 07:28:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bgs4s-00058w-Gn for emacs-orgmode@gnu.org; Mon, 05 Sep 2016 07:28:41 -0400 Received: from mout.gmx.net ([212.227.15.18]:62790) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgs4s-00058I-6a for emacs-orgmode@gnu.org; Mon, 05 Sep 2016 07:28:38 -0400 Received: from stella.c0t0d0s0.de ([88.66.7.13]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0LjaEi-1b5cS21XGi-00bdv5 for ; Mon, 05 Sep 2016 13:28:34 +0200 Received: from Stella (stella.c0t0d0s0.de [192.168.42.1]) by stella.c0t0d0s0.de (Postfix) with ESMTP id 3A594C4556 for ; Mon, 5 Sep 2016 13:28:33 +0200 (CEST) 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 Hello, I have a hook like follows: (defun foo (in out) (message "o-p-a-p-h in: '%s' out: '%s'" in out)) (add-hook 'org-publish-after-publishing-hook 'foo) Now I publish a project that is defined in org-publish-project-alist as follows: ("web-static" :base-directory "~/work/ORG/web" :publishing-directory "~/public_html/webtest1" :base-extension "css\\|gif" :recursive t :publishing-function org-publish-attachment ) The hook triggers and foo is called with two parameters, as expected. Now a different project: ("bbdbv3" :base-directory "~/work/doc/bbdbv3" :base-extension "org" :publishing-directory "~/public_html/webtest1/bbdbv3" :recursive nil :publishing-function hmw/org-publish-project :headline-levels 4 :auto-preamble nil :auto-sitemap nil :html-preamble nil :html-postamble nil :html-head-include-scripts nil :html-head-include-default-style nil :html-head "" ) This time foo is called with the out parameter set to nil. That behaviour changed between April and now I think. Any hints? Regards hmw