branch: externals/org
commit 773bba92a8e2b927427cf1daf374fa774fe834e0
Author: Ihor Radchenko <yanta...@posteo.net>
Commit: Ihor Radchenko <yanta...@posteo.net>

    doc/org-manual.org: Improve example of publishing configuration
    
    * doc/org-manual.org (Example: complex publishing configuration): Show
    how to use evaluated expression with backquotes and `rx' macro in the
    example.
    
    Link: 
https://orgmode.org/list/lv8p223mb0920398f1619c446752bb1e1a2...@lv8p223mb0920.namp223.prod.outlook.com
---
 doc/org-manual.org | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/org-manual.org b/doc/org-manual.org
index 1feb5ed603..5c4932f28d 100644
--- a/doc/org-manual.org
+++ b/doc/org-manual.org
@@ -17415,12 +17415,12 @@ place on the web server, and publishing images to it.
 
 #+begin_src emacs-lisp
 (setq org-publish-project-alist
-      '(("orgfiles"
+      `(("orgfiles"
          :base-directory "~/org/"
          :base-extension "org"
          :publishing-directory "/ssh:user@host:~/html/notebook/"
          :publishing-function org-html-publish-to-html
-         :exclude "PrivatePage.org" ;; regexp
+         :exclude ,(rx (or "PrivateFile.org" (seq line-start "private/"))) ;; 
regexp
          :headline-levels 3
          :section-numbers nil
          :with-toc nil

Reply via email to