[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: saving shell-sessions with desktop.el?
From: |
Kevin Rodgers |
Subject: |
Re: saving shell-sessions with desktop.el? |
Date: |
Wed, 27 Apr 2005 13:08:51 -0600 |
User-agent: |
Mozilla Thunderbird 0.9 (X11/20041105) |
stefan riha wrote:
> I'm trying to save my buffer list by putting
> the lines
>
> (desktop-load-default)
> (desktop-read)
>
> into .emacs
> This works, except that I can't save shell-sessions.
> I just don't want to type "M-x shell" RET "M-x
> rename-buffer" "sh1" RET every time I start emacs.
I don't think desktop.el saves anything but buffers visiting files,
unless you add the major mode to desktop-buffer-modes-to-save:
(setq desktop-buffer-modes-to-save
(cons 'shell-mode desktop-buffer-modes-to-save))
--
Kevin Rodgers