From aa9529a5ce07b286db8199de854b302ae4520ed9 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Wed, 8 Jul 2009 10:09:05 +0200 Subject: [PATCH] Make publishing a little less noisy --- lisp/org-publish.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lisp/org-publish.el b/lisp/org-publish.el index b9e9820dc..38e1c7b2a 100644 --- a/lisp/org-publish.el +++ b/lisp/org-publish.el @@ -176,6 +176,11 @@ When nil, do no timestamp checking and always publish all files." :group 'org-publish :type 'directory) +(defcustom org-publish-list-skipped-files t + "Non-nil means, show message about files *not* published." + :group 'org-publish + :type 'boolean) + (defcustom org-publish-before-export-hook nil "Hook run before export on the Org file. The hook may modify the file in arbitrary ways before publishing happens. @@ -223,7 +228,8 @@ function can still decide about that independently." t))) (if rtn (message "Publishing file %s using `%s'" filename pub-func) - (message "Skipping unmodified file %s" filename)) + (when org-publish-list-skipped-files + (message "Skipping unmodified file %s" filename))) rtn)) (defun org-publish-update-timestamp (filename &optional pub-dir pub-func)