branch: externals-release/org
commit 42da3a59b3971808d0a4d53b65ed40226c2c3a76
Author: Ihor Radchenko <yanta...@posteo.net>
Commit: Ihor Radchenko <yanta...@posteo.net>

    lisp/ox-publish.el (org-publish-sitemap): Fix typo
    
    Fix wrong `memq' call.  It should be `eq'.
    
    Reported-by: Hai W. <freizl...@gmail.com>
    Link: 
https://orgmode.org/list/caep1vhd8kpii_-f-batkea90qpensyv2qmjduxaxu+gjktw...@mail.gmail.com
---
 lisp/ox-publish.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/ox-publish.el b/lisp/ox-publish.el
index bb9e0bd2e3..51cb7433a1 100644
--- a/lisp/ox-publish.el
+++ b/lisp/ox-publish.el
@@ -826,7 +826,7 @@ Default for SITEMAP-FILENAME is `sitemap.org'."
                                      (mapcar #'file-name-directory files)))
                        files)))
         ;; Eventually sort all entries.
-        (when (or sort-files (not (memq sort-folders 'ignore)))
+        (when (or sort-files (not (eq sort-folders 'ignore)))
           (setq files (sort files sort-predicate)))
         (funcall sitemap-builder
                  title

Reply via email to