Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
848c7757
Commit
848c7757
authored
Feb 21, 2001
by
Gerd Moellmann
Browse files
(fancy-splash-screens): Use display-hourglass
instead of display-busy-cursor.
parent
a6c411ff
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
lisp/startup.el
lisp/startup.el
+9
-5
No files found.
lisp/startup.el
View file @
848c7757
;;; startup.el --- process Emacs shell arguments
;; Copyright (C) 1985, 86, 92, 94, 95, 96, 97, 98, 99, 2000
;; Copyright (C) 1985, 86, 92, 94, 95, 96, 97, 98, 99, 2000
, 2001
;; Free Software Foundation, Inc.
;; Maintainer: FSF
...
...
@@ -1134,7 +1134,9 @@ where FACE is a valid face specification, as it can be used with
(defun fancy-splash-default-action ()
"
Default
action
for
events
in
the
splash
screen
buffer.
"
(interactive)
(setq hansi last-nonmenu-event)
(push last-command-event unread-command-events)
(setq unread (copy-sequence unread-command-events))
(throw 'exit nil))
...
...
@@ -1143,7 +1145,7 @@ where FACE is a valid face specification, as it can be used with
(setq fancy-splash-help-echo (startup-echo-area-message))
(switch-to-buffer "
GNU
Emacs
")
(setq tab-width 20)
(let ((old-
busy-cursor display-busy-cursor
)
(let ((old-
hourglass display-hourglass
)
(splash-buffer (current-buffer))
timer)
(catch 'stop-splashing
...
...
@@ -1153,7 +1155,7 @@ where FACE is a valid face specification, as it can be used with
(define-key map [t] 'fancy-splash-default-action)
(define-key map [mouse-movement] 'ignore)
(setq cursor-type nil
display-
busy-cursor
nil
display-
hourglass
nil
buffer-undo-list t
mode-line-format
(propertize "
----
%b
%-
" 'face '(:weight bold))
...
...
@@ -1164,8 +1166,10 @@ where FACE is a valid face specification, as it can be used with
splash-buffer))
(recursive-edit))
(cancel-timer timer)
(setq display-busy-cursor old-busy-cursor)
(kill-buffer splash-buffer)))))
(setq display-hourglass old-hourglass)
(kill-buffer splash-buffer)
(setq hansi2 last-nonmenu-event)
))))
(defun use-fancy-splash-screens-p ()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment