[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: desktop.el & encoding of file
From: |
Juri Linkov |
Subject: |
Re: desktop.el & encoding of file |
Date: |
23 Jul 2003 16:41:33 +0300 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Alex Ott <ott@jet.msk.su> writes:
> How i can save encoding between sessions with desktop.el
You can set the variable desktop-locals-to-save in your .emacs:
(setq desktop-locals-to-save
(append
'(buffer-file-coding-system)
desktop-locals-to-save))
(here I use 'append' instead of 'cons' to more easily extend this list
in future).
With the variable buffer-file-coding-system added to desktop-locals-to-save,
its local value is saved for every buffer in the last argument
of 'desktop-create-buffer' in the desktop file.
--
http://www.jurta.org/emacs/