+2008-03-02 Juri Linkov <juri@jurta.org>
+
+ * startup.el: Revert 2008-02-28 change that adds initial message
+ to *scratch* buffer regardless of the value of `inhibit-startup-screen'.
+
2008-03-01 Dan Nicolaescu <dann@ics.uci.edu>
* textmodes/css-mode.el (css-indent-offset, css-electric-keys):
(defcustom inhibit-startup-screen nil
"Non-nil inhibits the startup screen.
+It also inhibits display of the initial message in the `*scratch*' buffer.
This is for use in your personal init file (but NOT site-start.el), once
you are familiar with the contents of the startup screen."
")
"Initial message displayed in *scratch* buffer at startup.
-If this is nil, no message will be displayed."
+If this is nil, no message will be displayed.
+If `inhibit-startup-screen' is non-nil, then no message is displayed,
+regardless of the value of this variable."
:type '(choice (text :tag "Message")
(const :tag "none" nil))
:group 'initialization)
;; abort later.
(unless (frame-live-p (selected-frame)) (kill-emacs nil))))))
- ;; If *scratch* exists and is empty, insert initial-scratch-message.
- (and initial-scratch-message
- (get-buffer "*scratch*")
- (with-current-buffer "*scratch*"
- (when (zerop (buffer-size))
- (insert initial-scratch-message)
- (set-buffer-modified-p nil))))
-
(if (or inhibit-startup-screen
noninteractive
emacs-quick-startup)
;; (with-no-warnings
;; (setq menubar-bindings-done t))
+ ;; If *scratch* exists and is empty, insert initial-scratch-message.
+ (and initial-scratch-message
+ (get-buffer "*scratch*")
+ (with-current-buffer "*scratch*"
+ (when (zerop (buffer-size))
+ (insert initial-scratch-message)
+ (set-buffer-modified-p nil))))
+
(if (> file-count 0)
(display-startup-screen t)
(display-startup-screen nil)))))