Program termination: Difference between revisions

m
Emacs Lisp: Make code more idiomatic
(Program termination en True BASIC)
m (Emacs Lisp: Make code more idiomatic)
Line 625:
 
=={{header|Emacs Lisp}}==
<lang Lisp>(ifwhen 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.
Anonymous user