org-src: Use font-lock-fontify-buffer for blocks
commit003a0f10695f035e844d844eacb1a86a6d2df934
authorKyle Meyer <kyle@kyleam.com>
Wed, 5 Aug 2015 03:50:59 +0000 (4 23:50 -0400)
committerKyle Meyer <kyle@kyleam.com>
Wed, 5 Aug 2015 03:50:59 +0000 (4 23:50 -0400)
tree9464b56411d7039a7b94c36a590cee8b24926a96
parentff92583e42db9730c307e001619a828219470908
org-src: Use font-lock-fontify-buffer for blocks

* lisp/org-src.el (org-src-font-lock-fontify-block): Use
  font-lock-fontify-buffer because font-lock-ensure does not display
  source block fonts.

When font-lock-fontify-buffer was originally replaced by
font-lock-ensure, source block fonts were not being displayed, so
99f9999 reverted this change.  However, a backport (d81e6b5) from the
Emacs repo, which was merged to master in 0d0d0ad, reverted this again.

Reported-by: Kaushal Modi <kaushal.modi@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/99495>
lisp/org-src.el