aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Djärv2005-04-12 19:59:54 +0000
committerJan Djärv2005-04-12 19:59:54 +0000
commited0fb1f1cc86c0b927c24f09c7d0080f48868c43 (patch)
treee4493f4e12f2d14ec9da2dcfbdd47b70cc4ca018
parentb7461be999a0a4f21b3085068ba2c0e2a3415209 (diff)
downloademacs-ed0fb1f1cc86c0b927c24f09c7d0080f48868c43.tar.gz
emacs-ed0fb1f1cc86c0b927c24f09c7d0080f48868c43.zip
Added new X reosurce, cursorBlink.
-rw-r--r--etc/ChangeLog4
-rw-r--r--etc/NEWS3
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/startup.el11
-rw-r--r--man/ChangeLog4
-rw-r--r--man/xresources.texi4
6 files changed, 30 insertions, 1 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog
index e145d92045e..d543d1b7513 100644
--- a/etc/ChangeLog
+++ b/etc/ChangeLog
@@ -1,3 +1,7 @@
12005-04-12 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
2
3 * NEWS: Mention cursorBlink resource.
4
12005-04-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 52005-04-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2 6
3 * NEWS: Mention dynamic change of keyboard-coding-system on Mac. 7 * NEWS: Mention dynamic change of keyboard-coding-system on Mac.
diff --git a/etc/NEWS b/etc/NEWS
index 2773e75395f..4696853e27d 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -968,6 +968,9 @@ If the configure option `--without-xim' was used to turn off use of
968XIM by default, the X resource useXIM can be used to turn it on. 968XIM by default, the X resource useXIM can be used to turn it on.
969 969
970+++ 970+++
971** The X resource cursorBlink can be used to turn off cursor blinking.
972
973+++
971** `undo-only' does an undo which does not redo any previous undo. 974** `undo-only' does an undo which does not redo any previous undo.
972 975
973--- 976---
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 30691832f50..207e1510bda 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12005-04-12 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
2
3 * startup.el (command-line): Turn off blinking cursor if
4 cursorBlink in resources is off or false.
5
12005-04-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 62005-04-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2 7
3 * term/mac-win.el (dnd): Require dnd. 8 * term/mac-win.el (dnd): Require dnd.
diff --git a/lisp/startup.el b/lisp/startup.el
index 98cadbc9d9c..fddb8e9904b 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -714,10 +714,19 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'."
714 (and command-line-args 714 (and command-line-args
715 (setcdr command-line-args args))) 715 (setcdr command-line-args args)))
716 716
717 ;; Under X Windows, this creates the X frame and deletes the terminal frame. 717 ;; Under X Window, this creates the X frame and deletes the terminal frame.
718 (when (fboundp 'frame-initialize) 718 (when (fboundp 'frame-initialize)
719 (frame-initialize)) 719 (frame-initialize))
720 720
721 ;; Turn off blinking cursor if so specified in X resources. This is here
722 ;; only because all other settings of no-blinking-cursor is here.
723 (unless (or noninteractive
724 emacs-basic-display
725 (and (memq window-system '(x w32 mac))
726 (not (member (x-get-resource "cursorBlink" "CursorBlink")
727 '("off" "false")))))
728 (setq no-blinking-cursor t))
729
721 ;; If frame was created with a menu bar, set menu-bar-mode on. 730 ;; If frame was created with a menu bar, set menu-bar-mode on.
722 (unless (or noninteractive 731 (unless (or noninteractive
723 emacs-basic-display 732 emacs-basic-display
diff --git a/man/ChangeLog b/man/ChangeLog
index 9e03a55b77b..ba9dc904618 100644
--- a/man/ChangeLog
+++ b/man/ChangeLog
@@ -1,3 +1,7 @@
12005-04-12 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
2
3 * xresources.texi (Table of Resources): Add cursorBlink.
4
12005-04-11 Luc Teirlinck <teirllm@auburn.edu> 52005-04-11 Luc Teirlinck <teirllm@auburn.edu>
2 6
3 * rmail.texi (Rmail Summary Edit): Explain numeric arguments to 7 * rmail.texi (Rmail Summary Edit): Explain numeric arguments to
diff --git a/man/xresources.texi b/man/xresources.texi
index 7e1beb2442a..b5090afd260 100644
--- a/man/xresources.texi
+++ b/man/xresources.texi
@@ -175,6 +175,10 @@ Width in pixels of the external border.
175@item @code{cursorColor} (class @code{Foreground}) 175@item @code{cursorColor} (class @code{Foreground})
176Color name for text cursor (point). 176Color name for text cursor (point).
177 177
178@item @code{cursorBlink} (class @code{CursorBlink})
179Specifies whether to make the cursor blink. The default is @samp{on}. Use
180@samp{off} or @samp{false} to turn cursor blinking off.
181
178@item @code{font} (class @code{Font}) 182@item @code{font} (class @code{Font})
179Font name for text (or fontset name, @pxref{Fontsets}). 183Font name for text (or fontset name, @pxref{Fontsets}).
180 184