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

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

Re: Use *scratch* for startup messages?


From: Stefan Monnier
Subject: Re: Use *scratch* for startup messages?
Date: Thu, 10 Jan 2013 14:56:44 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> (switch-to-buffer (find-file "~/agenda/my-custom-agenda.org"))

There's a redundancy here: find-file = switch-to-buffer + find-file-noselect

So either use find-file and drop the switch-to-buffer, or replace
find-file with find-file-noselect.


        Stefan




reply via email to

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