diff options
author | Gerd Moellmann <gerd@gnu.org> | 2000-02-24 14:03:59 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2000-02-24 14:03:59 +0000 |
commit | 5b2c5477e0be8c89af94b7bbd7e14153aaf00b32 (patch) | |
tree | f6b1fd49a41f7b39211396a13c62ff39bd6d66ab /lisp | |
parent | c60ea02e08d21160e7163ea3e36a43ef6618b6c3 (diff) | |
download | emacs-5b2c5477e0be8c89af94b7bbd7e14153aaf00b32.tar.gz |
(show-cursor-in-non-selected-windows): New option.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/frame.el | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/lisp/frame.el b/lisp/frame.el index 394652d5310..bd153f915f3 100644 --- a/lisp/frame.el +++ b/lisp/frame.el @@ -1096,7 +1096,19 @@ itself as a pre-command hook." (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 |