diff options
author | Jan Djärv <jan.h.d@swipnet.se> | 2005-04-12 19:59:54 +0000 |
---|---|---|
committer | Jan Djärv <jan.h.d@swipnet.se> | 2005-04-12 19:59:54 +0000 |
commit | ed0fb1f1cc86c0b927c24f09c7d0080f48868c43 (patch) | |
tree | e4493f4e12f2d14ec9da2dcfbdd47b70cc4ca018 /lisp/startup.el | |
parent | b7461be999a0a4f21b3085068ba2c0e2a3415209 (diff) | |
download | emacs-ed0fb1f1cc86c0b927c24f09c7d0080f48868c43.tar.gz |
Added new X reosurce, cursorBlink.
Diffstat (limited to 'lisp/startup.el')
-rw-r--r-- | lisp/startup.el | 11 |
1 files changed, 10 insertions, 1 deletions
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'." (and command-line-args (setcdr command-line-args args))) - ;; Under X Windows, this creates the X frame and deletes the terminal frame. + ;; Under X Window, this creates the X frame and deletes the terminal frame. (when (fboundp 'frame-initialize) (frame-initialize)) + ;; Turn off blinking cursor if so specified in X resources. This is here + ;; only because all other settings of no-blinking-cursor is here. + (unless (or noninteractive + emacs-basic-display + (and (memq window-system '(x w32 mac)) + (not (member (x-get-resource "cursorBlink" "CursorBlink") + '("off" "false"))))) + (setq no-blinking-cursor t)) + ;; If frame was created with a menu bar, set menu-bar-mode on. (unless (or noninteractive emacs-basic-display |