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



_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to