]> git.eshelyaron.com Git - emacs.git/commitdiff
* term/ns-win.el (ns-cursor-blink-rate, ns-cursor-blink-mode): Remove.
authorAdrian Robert <Adrian.B.Robert@gmail.com>
Thu, 21 Aug 2008 02:31:45 +0000 (02:31 +0000)
committerAdrian Robert <Adrian.B.Robert@gmail.com>
Thu, 21 Aug 2008 02:31:45 +0000 (02:31 +0000)
lisp/ChangeLog
lisp/term/ns-win.el

index 530bbd94dbc20424104cee2de7b05f90595b09de..ef23d308cc3ab0a796abf027873f6246fdf86eef 100644 (file)
@@ -1,3 +1,8 @@
+2008-08-20  David Reitter  <david.reitter@gmail.com>
+
+       * term/ns-win.el (ns-cursor-blink-rate, ns-cursor-blink-mode): Remove.
+       Patch applied by Adrian Robert.
+
 2008-08-20  Kevin Ryde  <user42@zip.com.au>
 
        * textmodes/nroff-mode.el (nroff-mode): Avoid auto-filling on
index e5cacf8df3c0f00eebe86c33931de5cf0d0881c2..94f0806e985c2db89964c5da331230166fb2a8cd 100644 (file)
@@ -59,7 +59,6 @@
 ;; nsterm.m
 (defvar ns-version-string)
 (defvar ns-expand-space)
-(defvar ns-cursor-blink-rate)
 (defvar ns-alternate-modifier)
 
 ;;;; Command line argument handling.
@@ -995,10 +994,6 @@ Lines are highlighted according to `ns-input-line'."
   (ns-set-resource nil "CommandModifier" (symbol-name ns-command-modifier))
   (ns-set-resource nil "ControlModifier" (symbol-name ns-control-modifier))
   (ns-set-resource nil "FunctionModifier" (symbol-name ns-function-modifier))
-  (ns-set-resource nil "CursorBlinkRate"
-                   (if ns-cursor-blink-rate
-                       (number-to-string ns-cursor-blink-rate)
-                     "NO"))
   (ns-set-resource nil "ExpandSpace"
                    (if ns-expand-space
                        (number-to-string ns-expand-space)
@@ -1228,28 +1223,6 @@ unless the current buffer is a scratch buffer.")
                                   0 1)) ))
   (if (not tool-bar-mode) (tool-bar-mode t)))
 
-(defvar ns-cursor-blink-mode)          ; nsterm.m
-
-;; Redefine from frame.el.
-(define-minor-mode blink-cursor-mode
-  "Toggle blinking cursor mode.
-With a numeric argument, turn blinking cursor mode on if ARG is positive,
-otherwise turn it off.  When blinking cursor mode is enabled, the
-cursor of the selected window blinks.
-
-Note that this command is effective only when Emacs
-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
-                      no-blinking-cursor
-                      (eq ns-cursor-blink-rate nil)))
-  :initialize 'custom-initialize-safe-default
-  :group 'cursor
-  :global t
-  (if blink-cursor-mode
-      (setq ns-cursor-blink-mode t)
-      (setq ns-cursor-blink-mode nil)))
-
 
 
 ;;;; Dialog-related functions.