From 40497420440877a306a8765d2db7bb91e2b7f43f Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Mon, 20 May 2024 15:11:11 +0200 Subject: [PATCH] lisp/ox-html.el (org-html-template): Remove Emacs 22 compatibility Emacs 22 support is long-dropped. We no longer need to be backwards compatible with it. Also, Org mode no longer works with Emacs 22, so there is no point keeping this code. --- lisp/ox-html.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/ox-html.el b/lisp/ox-html.el index ec0add65e..0f73cfe92 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -2216,8 +2216,7 @@ holding export options." (format "%s\n" (format decl (or (and org-html-coding-system - ;; FIXME: Use Emacs 22 style here, see `coding-system-get'. - (coding-system-get org-html-coding-system 'mime-charset)) + (coding-system-get org-html-coding-system :mime-charset)) "iso-8859-1")))))) (org-html-doctype info) "\n"