Mercurial > emacs
diff lisp/frame.el @ 27846:1ef6cae16192
(show-cursor-in-non-selected-windows): New option.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 24 Feb 2000 14:03:59 +0000 |
parents | 097c2dd9367a |
children | 490743da8567 |
line wrap: on
line diff
--- a/lisp/frame.el Thu Feb 24 13:55:54 2000 +0000 +++ b/lisp/frame.el Thu Feb 24 14:03:59 2000 +0000 @@ -1096,7 +1096,19 @@ (set-default symbol value) (setq display-busy-cursor value))) - + +(defcustom show-cursor-in-non-selected-windows t + "*Non-nil means show a hollow box cursor in non-selected-windows. +If nil, don't show a cursor except in the selected window." + :tag "Cursor in non-selected windows" + :type 'boolean + :group 'cursor + :get #'(lambda (symbol) cursor-in-non-selected-windows) + :set #'(lambda (symbol value) + (set-default symbol value) + (setq cursor-in-non-selected-windows value) + (force-mode-line-update t))) + ;;;; Key bindings