--- Begin Message ---
Subject: |
org-mode fontification |
Date: |
Mon, 18 Jan 2016 13:59:41 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
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
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#22399: org-mode fontification |
Date: |
Mon, 01 Feb 2016 08:50:11 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> No, I don't have commit rights. I'll update the Org side, but, for
> issues that were introduced in the Emacs tree post 24.5, I don't know if
> it's preferable to also update Emacs instead of waiting for the changes
> to come over with a full sync.
Looks like there's no Org people following this, so I installed it into
emacs-25 (IOW it should be fixed in the next (25.0.91) pretest).
Stefan
--- End Message ---