[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Moving handlers out of desktop.el
From: |
Juri Linkov |
Subject: |
Re: Moving handlers out of desktop.el |
Date: |
Sun, 11 Apr 2004 01:32:12 +0300 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) |
Lars Hansen <address@hidden> writes:
> Juri Linkov wrote:
>>if `Info-mode' was able to set a literally visited Info file to Info mode,
>>then no handler would be needed in desktop.el, because just calling
>>`Info-mode' from `desktop-buffer-file' on a restored Info file would do
>>exactly what `desktop-buffer-info' currently does.
>>
>>If all other special modes would do the same then no new variable like
>>`desktop-buffer-mode-handlers' will be needed.
>>
> This is true for buffers visiting a file only. It would not work for
> dired buffers.
Why not? Calling (find-file-noselect directory-name) creates a buffer
in Dired mode.
--
Juri Linkov
http://www.jurta.org/emacs/
Re: Moving handlers out of desktop.el, Juri Linkov, 2004/04/13
Re: Moving handlers out of desktop.el, David Kastrup, 2004/04/13