Emacs中的光标类型

13

我该在我的 .emacs 文件中添加什么内容,才能将所有框架的光标类型更改为 box

2个回答

25

在 Emacs 23.2 之前,你应该这样处理:

(setq default-cursor-type 'box)

请注意,default-cursor-type 变量已经自 Emacs 23.2 起过时了。 你应该使用 cursor-type 变量代替:

(set-default 'cursor-type 'box)

7
请注意,使用Cygwin时,Mintty会覆盖光标(右键单击Mintty标题栏以访问选项并设置喜欢的光标样式)。 - ron

3

Got it, it's:

(setq default-cursor-type 'box)


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接