Mac – In Emacs, how can I set the cursor-type globally


It's possible to modify the style of the cursor by setting the value of the window local variable cursor-type.

(setq cursor-type '(hbar . 1))

How can I make all existing and future windows use the same cursor-type?

Best Answer

setq-default sets the default value of a variable:

(setq-default cursor-type '(hbar . 1))
Related Question