[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#22399: org-mode fontification
From: |
Stefan Monnier |
Subject: |
bug#22399: org-mode fontification |
Date: |
Wed, 20 Jan 2016 17:02:15 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
> (defalias 'org-font-lock-ensure
> - (if (fboundp 'org-font-lock-ensure)
> + (if (fboundp 'font-lock-ensure)
> #'font-lock-ensure
> - (lambda (_beg _end) (font-lock-fontify-buffer))))
> + (lambda (&optional _beg _end) (font-lock-fontify-buffer))))
Looks good.
> (unless (eq major-mode lang-mode) (funcall lang-mode))
> - (org-font-lock-ensure)
> + ;; Avoid `font-lock-ensure', which does not display fonts in
> + ;; source block.
> + (font-lock-fontify-buffer)
Intuitively, this looks like a wrong fix. Do you have a reproducible
recipe showing the problem that you're trying to fix?
Stefan
- bug#22399: org-mode fontification, (continued)
- Message not available
- bug#22399: org-mode fontification, Rasmus, 2016/01/19
- bug#22399: org-mode fontification, Kyle Meyer, 2016/01/19
- bug#22399: org-mode fontification, Kyle Meyer, 2016/01/19
- bug#22399: org-mode fontification, Rasmus, 2016/01/19
- bug#22399: [O] bug#22399: org-mode fontification, Phillip Lord, 2016/01/20
- Message not available
- bug#22399: org-mode fontification, Kyle Meyer, 2016/01/20
- bug#22399: org-mode fontification,
Stefan Monnier <=
- bug#22399: org-mode fontification, Kyle Meyer, 2016/01/20
- bug#22399: org-mode fontification, Stefan Monnier, 2016/01/25
- bug#22399: org-mode fontification, Kyle Meyer, 2016/01/26
- bug#22399: org-mode fontification, Stefan Monnier, 2016/01/26
- bug#22399: org-mode fontification, Kyle Meyer, 2016/01/26