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)