Subject: org-mode fontification

From: [email-masked] (Phillip Lord)
Date: Mon, 18 Jan 2016 13:59:41 +0000

On emacs-25 ox-html, line 1847, org-html-fontify-code does this...

(setq code (with-temp-buffer
		       ;; Switch to language-specific mode.
		       (funcall lang-mode)
		       (insert code)
		       ;; Fontify buffer.
		       (org-font-lock-ensure)

But `org-font-lock-ensure' is defined like so....

(defalias 'org-font-lock-ensure
  (if (fboundp 'org-font-lock-ensure)
      #'font-lock-ensure
    (lambda (_beg _end) (font-lock-fontify-buffer))))

which takes two args, causing crashes when exporting to code to HTML.

Phil