如何使Emacs不会突出尾随空白呢? [英] How to make Emacs not highlight trailing whitespace in term?
本文介绍了如何使Emacs不会突出尾随空白呢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
'(show-trailing-whitespace t)
我一般都很高兴。
唯一的问题是,当我处于M-x术语缓冲区时,它突出显示空白,我无法控制该空格。如何防止这种情况?
解决方案
使用方法:
(add-hook
'term-mode-hook
(lambda()(setq show -tail-whitespace nil))
I'm using this in my .emacs config
'(show-trailing-whitespace t)
And I'm generally very happy with it. The only problem is that it highlights whitespace when I'm in 'M-x term' buffer and I have no control over that whitespace. How to prevent this?
解决方案
Use this:
(add-hook
'term-mode-hook
(lambda() (setq show-trailing-whitespace nil)))
这篇关于如何使Emacs不会突出尾随空白呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文