Program termination: Difference between revisions
Content added Content deleted
(Program termination en True BASIC) |
m (Emacs Lisp: Make code more idiomatic) |
||
Line 625: | Line 625: | ||
=={{header|Emacs Lisp}}== |
=={{header|Emacs Lisp}}== |
||
<lang Lisp>( |
<lang Lisp>(when something |
||
(kill-emacs))</lang> |
|||
Functions in <code>kill-emacs-hook</code> are called. (Except prior to Emacs 24 that hook was not run when in <code>-batch</code> mode.) The underlying C library <code>atexit()</code> handlers are called. |
Functions in <code>kill-emacs-hook</code> are called. (Except prior to Emacs 24 that hook was not run when in <code>-batch</code> mode.) The underlying C library <code>atexit()</code> handlers are called. |