Cursor type in Emacs

烈酒焚心 提交于 2019-12-06 20:46:05

问题


What do I put in my .emacs file to change the cursor type for all frames to box?


回答1:


Before Emacs 23.2, you should do :

(setq default-cursor-type 'box)

Be careful, default-cursor-type is a variable that is obsolete since Emacs 23.2. You should use cursor-type variable instead :

(set-default 'cursor-type 'box)



回答2:


Got it, it's:

(setq default-cursor-type 'box)



来源:https://stackoverflow.com/questions/3670938/cursor-type-in-emacs

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!