Am Sun, 15 Nov 2009 20:03:15 +0100 schrieb Christopher Roy Bratusek <[email protected]>:
> Am Sun, 15 Nov 2009 19:55:49 +0100 > schrieb Christopher Roy Bratusek <[email protected]>: > > > So I wrote a new function called exit, which is basically a wrapper > > around exit, reboot and halt. > ^^^^^^^^ around quit here's the doc-hunk with correct linebreaks: diff --git a/man/sawfish.texi b/man/sawfish.texi index b348407..63e5797 100644 --- a/man/sawfish.texi +++ b/man/sawfish.texi @@ -5514,6 +5514,16 @@ Calls the function of the same name. @code{destroy-window} and @code{kill-client} both take @code{%W} as argument. @end defun +...@defun exit @var{action} +A wrapper around @code{quit}. @code{exit} first @code{delete-window-safely} +all managed windows, then @code{window-history-save}, to ensure a clean +window-history on the next start. In addition, if @var{action} is @code{exit}, +then @code{quit} is called directly afterwards, if it's @code{reboot}, then +the system goes @code{init 6}, if it's halt, then the system goes @code{init 0}. + +Should not be used, if a session-manager is running. +...@end defun + @node Keymaps, Event Loop, Commands, Top @chapter Keymaps @cindex Keymaps
