# HG changeset patch
# User Luc Teirlinck <teirllm@auburn.edu>
# Date 1121302774 0
# Node ID acabc71be63bbbb3c3deaa67d62d7caedcb8064d
# Parent  12d6287fd482297d02a020ff4c03f1ee9fc34abe
(blink-cursor-mode): Use `custom-initialize-safe-default' and simplify
:init-value again.

diff -r 12d6287fd482 -r acabc71be63b lisp/frame.el
--- a/lisp/frame.el	Thu Jul 14 00:57:45 2005 +0000
+++ b/lisp/frame.el	Thu Jul 14 00:59:34 2005 +0000
@@ -1256,11 +1256,6 @@
 This timer calls `blink-cursor-timer-function' every
 `blink-cursor-interval' seconds.")
 
-;; At startup, some variables used to compute the standard value may
-;; not yet be defined or may not yet have their correct value.  Hence
-;; the value computed by the defcustom at startup may be incorrect.
-;; The correct value will be recomputed in startup.el using
-;; `custom-reevaluate-setting'
 (define-minor-mode blink-cursor-mode
   "Toggle blinking cursor mode.
 With a numeric argument, turn blinking cursor mode on iff ARG is positive.
@@ -1271,9 +1266,10 @@
 displays through a window system, because then Emacs does its own
 cursor display.  On a text-only terminal, this is not implemented."
   :init-value (not (or noninteractive
-		       (if (boundp 'no-blinking-cursor) no-blinking-cursor)
+		       no-blinking-cursor
 		       (eq system-type 'ms-dos)
 		       (not (memq window-system '(x w32)))))
+  :initialize 'custom-initialize-safe-default
   :group 'cursor
   :global t
   (if blink-cursor-idle-timer (cancel-timer blink-cursor-idle-timer))