From: Lars Hansen Date: Fri, 7 May 2004 17:58:24 +0000 (+0000) Subject: (desktop-buffer-mode-handlers): Fix docstring. X-Git-Tag: ttn-vms-21-2-B4~6377 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5577544820922791c0be22a7928e7a07f9eb885e;p=emacs.git (desktop-buffer-mode-handlers): Fix docstring. --- diff --git a/lisp/desktop.el b/lisp/desktop.el index ce9d0c9d645..b4600aa8c5b 100644 --- a/lisp/desktop.el +++ b/lisp/desktop.el @@ -289,16 +289,14 @@ DESKTOP-BUFFER-MISC.") (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: