代码之家  ›  专栏  ›  技术社区  ›  Chetan

Emacs中的游标类型

  •  10
  • Chetan  · 技术社区  · 14 年前

    我应该在.emacs文件中输入什么来将所有帧的光标类型更改为 box

    2 回复  |  直到 14 年前
        1
  •  23
  •   Jérôme Radix    14 年前

    在Emacs 23.2之前,您应该:

    (setq default-cursor-type 'box)
    

    default-cursor-type 是自Emacs 23.2以来已过时的变量。 cursor-type

    (set-default 'cursor-type 'box)
    
        2
  •  3
  •   Chetan    14 年前

    明白了,是:

    (setq default-cursor-type 'box)