emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org 773bba92a8: doc/org-manual.org: Improve example of


From: ELPA Syncer
Subject: [elpa] externals/org 773bba92a8: doc/org-manual.org: Improve example of publishing configuration
Date: Tue, 7 May 2024 06:58:34 -0400 (EDT)

branch: externals/org
commit 773bba92a8e2b927427cf1daf374fa774fe834e0
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@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/LV8P223MB0920398F1619C446752BB1E1A2E42@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

[Prev in Thread] Current Thread [Next in Thread]