diff options
| author | Gerd Moellmann | 2000-07-03 19:13:55 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-07-03 19:13:55 +0000 |
| commit | cae2c28eeed2f90efc3fdd125b6e1d7a830b4ce1 (patch) | |
| tree | 70a609d201def84abb5bbf58021ef32e78e36ddd | |
| parent | e4f98ad3c65b83a8d49ec2f9c2657758fcb250a6 (diff) | |
| download | emacs-cae2c28eeed2f90efc3fdd125b6e1d7a830b4ce1.tar.gz emacs-cae2c28eeed2f90efc3fdd125b6e1d7a830b4ce1.zip | |
(blink-cursor-mode): Don't hide cursor initially.
| -rw-r--r-- | lisp/frame.el | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/frame.el b/lisp/frame.el index 03b9bc6e65e..a33d8c41aaf 100644 --- a/lisp/frame.el +++ b/lisp/frame.el | |||
| @@ -1064,7 +1064,7 @@ window blinks." | |||
| 1064 | (if on-p | 1064 | (if on-p |
| 1065 | (progn | 1065 | (progn |
| 1066 | ;; Hide the cursor. | 1066 | ;; Hide the cursor. |
| 1067 | (internal-show-cursor nil nil) | 1067 | ;(internal-show-cursor nil nil) |
| 1068 | (setq blink-cursor-idle-timer | 1068 | (setq blink-cursor-idle-timer |
| 1069 | (run-with-idle-timer blink-cursor-delay | 1069 | (run-with-idle-timer blink-cursor-delay |
| 1070 | blink-cursor-delay | 1070 | blink-cursor-delay |
| @@ -1072,12 +1072,14 @@ window blinks." | |||
| 1072 | (setq blink-cursor-mode t)) | 1072 | (setq blink-cursor-mode t)) |
| 1073 | (internal-show-cursor nil t)))) | 1073 | (internal-show-cursor nil t)))) |
| 1074 | 1074 | ||
| 1075 | (defcustom blink-cursor (unless (eq system-type 'ms-dos) | 1075 | ;; Note that this is really initialized from startup.el before |
| 1076 | window-system) | 1076 | ;; the init-file is read. |
| 1077 | |||
| 1078 | (defcustom blink-cursor nil | ||
| 1077 | "*Non-nil means blinking cursor mode is active." | 1079 | "*Non-nil means blinking cursor mode is active." |
| 1080 | :group 'cursor | ||
| 1078 | :tag "Blinking cursor" | 1081 | :tag "Blinking cursor" |
| 1079 | :type 'boolean | 1082 | :type 'boolean |
| 1080 | :group 'cursor | ||
| 1081 | :set #'(lambda (symbol value) | 1083 | :set #'(lambda (symbol value) |
| 1082 | (set-default symbol value) | 1084 | (set-default symbol value) |
| 1083 | (blink-cursor-mode (or value 0)))) | 1085 | (blink-cursor-mode (or value 0)))) |