unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#22399: org-mode fontification
@ 2016-01-18 13:59 Phillip Lord
  2016-01-18 14:16 ` Rasmus
  0 siblings, 1 reply; 24+ messages in thread
From: Phillip Lord @ 2016-01-18 13:59 UTC (permalink / raw)
  To: 22399


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






^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2016-02-11 18:18 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-18 13:59 bug#22399: org-mode fontification Phillip Lord
2016-01-18 14:16 ` Rasmus
2016-01-18 18:05   ` Phillip Lord
2016-01-18 18:48     ` Rasmus
     [not found]     ` <87bn8i7mha.fsf@gmx.us>
2016-01-18 19:27       ` Kyle Meyer
     [not found]       ` <87d1syvgc7.fsf@kyleam.com>
2016-01-19  6:32         ` Kyle Meyer
2016-01-19 11:25           ` Phillip Lord
     [not found]         ` <8737tu13la.fsf__5430.1016768024$1453185240$gmane$org@kyleam.com>
2016-01-19  8:51           ` Rasmus
     [not found]           ` <87d1sy54vt.fsf@gmx.us>
2016-01-19 15:33             ` Kyle Meyer
     [not found]             ` <87wpr5zirr.fsf@kyleam.com>
2016-01-19 18:04               ` Kyle Meyer
2016-01-19 19:05               ` Rasmus
     [not found]               ` <871t9d4cg3.fsf@gmx.us>
2016-01-20 11:39                 ` bug#22399: [O] " Phillip Lord
2016-01-20 17:18                   ` Kyle Meyer
2016-01-20 22:02                     ` Stefan Monnier
2016-01-21  0:44                       ` Kyle Meyer
     [not found]                       ` <87oacf92wl.fsf@kyleam.com>
2016-01-25 14:30                         ` Stefan Monnier
2016-01-26  6:58                           ` Kyle Meyer
2016-01-26 13:06                             ` Stefan Monnier
2016-01-26 15:27                               ` Kyle Meyer
2016-02-01 13:50                                 ` Stefan Monnier
2016-02-03  6:38                                   ` Bastien Guerry
2016-02-03  6:51                                     ` Kyle Meyer
2016-02-03  6:55                                       ` Bastien Guerry
2016-02-11 18:18                                         ` Phillip Lord

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).