如何强制emacs重新着色 [英] Howto force emacs recolor

查看:172
本文介绍了如何强制emacs重新着色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每隔一段时间Emacs无法在语法高亮和着色得到所有时髦的缓冲区。有什么办法强制Emacsrecolor的语法吗?只是试一试?

Every once and a while Emacs fails at syntax highlighting and the coloring gets all funky in a buffer. Is there any way to force Emacs to "recolor" the syntax? Just try over? I don't mind if it takes a moment.

推荐答案

我认为 Mx font-lock-fontify -buffer 会做你正在寻找的。或者选择一个区域并执行 Mo Mo (或 Mx font-lock-fontify-block )。

I think M-x font-lock-fontify-buffer will do what you are looking for. Or select a region and do M-o M-o (or M-x font-lock-fontify-block).

这篇关于如何强制emacs重新着色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆