help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I change the default loading buffer?


From: Emanuel Berg
Subject: Re: How can I change the default loading buffer?
Date: Thu, 30 Jul 2015 00:43:36 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Robert Thorpe <rt@robertthorpeconsulting.com> writes:

> See this node in the Emacs Lisp Manual and figure
> out where you want it to happen in relation to other
> things: (info "(elisp)Startup Summary") .
>
> If you want it in that hook do:
>
> (add-hook 'emacs-startup-hook (lambda ()
> (switch-to-buffer (get-buffer-create (shell)))))

You mean so not to interfere with batch mode Emacs and
other (?) stuff like that? Well, yeah, but just
putting Emacs in some mode and displaying some buffer
shouldn't disturb that, should it?

For example, I have this last in my .emacs:

    ;; no fanfare / init
    (setq inhibit-startup-screen t)
    (setq inhibit-startup-echo-area-message "incal")

    ;; scratch buffer
    (require 'buc)
    (setq initial-scratch-message nil)
    (let ((scratch-buffer "*scratch*"))
      (when (member scratch-buffer (buffer-names))
        (kill-buffer scratch-buffer) ))

    ;; starting point
    (call-interactively 'w3m)
    (cd "~/")

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

[Prev in Thread] Current Thread [Next in Thread]