Browse Source

org-agenda: Tiny fix

* lisp/org-agenda.el (org-agenda-write): Allow writing ".htm" files.
Nicolas Goaziou 3 years ago
parent
commit
a4f5d35fcc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org-agenda.el

+ 1 - 1
lisp/org-agenda.el

@@ -3368,7 +3368,7 @@ the agenda to write."
 		 (write-file file)
 		 (kill-buffer (current-buffer))
 		 (message "Org file written to %s" file)))
-	      ((string= "html" extension)
+	      ((member extension '("html" "htm"))
 	       (require 'htmlize)
 	       (set-buffer (htmlize-buffer (current-buffer)))
 	       (when org-agenda-export-html-style