branch: externals/org
commit 9738c269af4754403387ebea25ab9c1fd15c47c4
Merge: c9060ec7c4 42da3a59b3
Author: Ihor Radchenko <yanta...@posteo.net>
Commit: Ihor Radchenko <yanta...@posteo.net>

    Merge branch 'bugfix'
---
 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 e29f8b5191..3532bdbb49 100644
--- a/lisp/ox-publish.el
+++ b/lisp/ox-publish.el
@@ -824,7 +824,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