X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/276be7d77a07999e3098562fce077000dc6c1693..13c06cf4e05b1a9e1609d88215b343f26650cf3d:/doc/sod.sty

diff --git a/doc/sod.sty b/doc/sod.sty
index 0e4216c..81e51d5 100644
--- a/doc/sod.sty
+++ b/doc/sod.sty
@@ -189,10 +189,14 @@
 %%%--------------------------------------------------------------------------
 %%% Environment for setting programs.
 
+%% Save `\kill' so that `longtable' won't clobber it.
+\let\prog@@kill\kill
+
 %% Main guts of `prog' and `nprog'.
 \def\@prog{%
   \let\prog@@cr\@tabcr%
   \let\@tabcr\@progcr%
+  \let\kill\prog@@kill%
   \codeface%
   \tabbing%
 }
