Browse Source

ox-publish: Fix last commit

* lisp/ox-publish.el (org-publish-get-project-from-filename): Fix last
  commit.
Nicolas Goaziou 3 years ago
parent
commit
c55770006a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/ox-publish.el

+ 1 - 1
lisp/ox-publish.el

@@ -501,7 +501,7 @@ publishing FILENAME."
 		  ;; if :recursive in non-nil.
 		  ((org-publish-property :recursive p)
 		   (and (file-in-directory-p filename base) p))
-		  ((equal base (file-name-directory filename)) p)
+		  ((file-equal-p base (file-name-directory filename)) p)
 		  (t nil)))))
 	   org-publish-project-alist)))
     (cond