unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Removing split window on start up
@ 2014-04-11 14:46 Dimech, Chris
  2014-04-11 16:35 ` Sacha Chua
  0 siblings, 1 reply; 2+ messages in thread
From: Dimech, Chris @ 2014-04-11 14:46 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org

using

emacs file

I get the screen split in two, top windor has listing of file, the bottom one has
details about emacs.

When doing just emacs, I would like to have the startup screen, splash screen ...
but want only to display my file when using emacs file, ow when I open a file
using the right hand mouse buttom and opening it in emacs.

How can I remove the split screen when I liad a file from the .emacs file

I want to keep the startup splash screen but not split the screen with both my file
and the splash screen, unless a file is not selected

Christopher
This email and any accompanying attachments are confidential. If you received this email by mistake, please delete
it from your system. Any review, disclosure, copying, distribution, or use of the email by others is strictly prohibited.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Removing split window on start up
  2014-04-11 14:46 Removing split window on start up Dimech, Chris
@ 2014-04-11 16:35 ` Sacha Chua
  0 siblings, 0 replies; 2+ messages in thread
From: Sacha Chua @ 2014-04-11 16:35 UTC (permalink / raw)
  To: help-gnu-emacs

"Dimech, Chris" <Chris.Dimech@CGG.com> writes:

Hello, Chris!

> How can I remove the split screen when I liad a file from the .emacs
> file I want to keep the startup splash screen but not split the screen
> with both my file and the splash screen, unless a file is not selected

Maybe add something like this in your ~/.emacs.d/init.el?

(when (> (length command-line-args) 1)
  (setq inhibit-startup-screen t))

Sacha




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-11 16:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-11 14:46 Removing split window on start up Dimech, Chris
2014-04-11 16:35 ` Sacha Chua

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).