Mercurial > emacs
changeset 55413:f30ad6214291
(desktop-buffer-mode-handlers): Fix docstring.
author | Lars Hansen <larsh@soem.dk> |
---|---|
date | Fri, 07 May 2004 17:58:24 +0000 |
parents | 53a1a79a33f9 |
children | 029817c8eef3 |
files | lisp/desktop.el |
diffstat | 1 files changed, 3 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/desktop.el Fri May 07 17:46:50 2004 +0000 +++ b/lisp/desktop.el Fri May 07 17:58:24 2004 +0000 @@ -289,16 +289,14 @@ (Info-mode . Info-restore-desktop-buffer)) "Alist of major mode specific functions to restore a desktop buffer. Functions are called by `desktop-read'. List elements must have the form -\(MAJOR-MODE . FUNCTION). +\(MAJOR-MODE . RESTORE-BUFFER-FUNCTION). Buffers with a major mode not specified here, are restored by the default handler `desktop-restore-file-buffer'. -Handlers are called with parameters +Handlers are called with argument list - desktop-buffer-file-name - desktop-buffer-name - desktop-buffer-misc + (BUFFER-FILE-NAME BUFFER-NAME DESKTOP-BUFFER-MISC) Furthermore, they may use the following variables: