272 |
(remove-hook 'after-change-functions 'font-lock-after-change-function t) |
(remove-hook 'after-change-functions 'font-lock-after-change-function t) |
273 |
(font-lock-unfontify-buffer) |
(font-lock-unfontify-buffer) |
274 |
(font-lock-turn-off-thing-lock)))) |
(font-lock-turn-off-thing-lock)))) |
275 |
|
|
276 |
(defun turn-on-font-lock () |
(defun turn-on-font-lock () |
277 |
"Turn on Font Lock mode (only if the terminal can display it)." |
"Turn on Font Lock mode (only if the terminal can display it)." |
278 |
(unless font-lock-mode |
(unless font-lock-mode |