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

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

Re: Rename *shell* at startup


From: Andreas Politz
Subject: Re: Rename *shell* at startup
Date: Thu, 18 Dec 2008 16:25:22 +0100
User-agent: Mozilla-Thunderbird 2.0.0.17 (X11/20081018)

Decebal wrote:
In my .emacs I have:
    ;;; Start in shell mode
    (setq initial-major-mode 'shell)

In this way I start Emacs in a buffer in shell-mode name '*shell*'. Is
there a way to let this buffer be named 'shell' automatically?

The shell function accepts a buffer argument, so
(lambda nil (shell "shell"))
will probably work.

-ap


reply via email to

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