Ticket #1039: patch.diff

File patch.diff, 4.6 KB (added by mickbeaver, 16 months ago)

A small change that fixes the documentation and exports surrounding this bug. I worked off of the 1.9 Release source code for Linux.

  • lib/ccl-export-syms.lisp

     
    2626     @ 
    2727     *elements-per-buffer* 
    2828     save-application 
     29     application 
     30     lisp-development-system 
    2931     def-load-pointers 
    3032     *save-exit-functions* 
    3133     *restore-lisp-functions* 
  • doc/src/using.xml

     
    21332133        <parameter>impurify</parameter> 
    21342134        <parameter>(mode #o644)</parameter> 
    21352135        <parameter>prepend-kernel</parameter> 
     2136        <parameter>(application-type :console)</parameter> 
    21362137        <parameter>native</parameter> 
    21372138        [Function]</command> 
    21382139    </para> 
     
    21742175        <term><varname>error-handler</varname></term> 
    21752176        <listitem> 
    21762177          <para>The error-handling mode for the saved image. The 
    2177             supplied value determines what happens when an error is not 
    2178             handled by the saved image. Valid values 
    2179             are <literal>:quit</literal> (Lisp exits with an error 
    2180             message); <literal>:quit-quietly</literal> (Lisp exits without an 
    2181             error message); or <literal>:listener</literal> (Lisp enters a 
    2182             break loop, enabling you to debug the problem by interacting 
    2183             in a listener). If you don't supply this parameter, the 
    2184             saved image uses the default error handler 
    2185             (<literal>:listener</literal>).</para> 
     2178            supplied value determines what happens when an error is not handled 
     2179            by the saved image. Valid values are: 
     2180 
     2181            <variablelist> 
     2182              <varlistentry> 
     2183                <term><varname>:quit</varname></term> 
     2184                <listitem> 
     2185                  <para>Lisp exits with an error message.</para> 
     2186                </listitem> 
     2187              </varlistentry> 
     2188              <varlistentry> 
     2189                <term><varname>:quit-quietly</varname></term> 
     2190                <listitem> 
     2191                  <para>Lisp exits without an error message.</para> 
     2192                </listitem> 
     2193              </varlistentry> 
     2194         
     2195              <varlistentry> 
     2196                <term><varname>:listener</varname></term> 
     2197                <listitem> 
     2198                  <para>Lisp enters a break loop, enabling you to debug the 
     2199                    problem by interacting in a listener.</para> 
     2200                </listitem> 
     2201              </varlistentry> 
     2202         
     2203            </variablelist> 
     2204 
     2205            If you don't supply this parameter, 
     2206            <literal>:application-class</literal> is nil, or 
     2207            <literal>:application-class</literal> is 
     2208            <literal>CCL:LISP-DEVELOPMENT-SYSTEM</literal> (or a subclass), 
     2209            then the saved image uses the default error handler (i.e. 
     2210            <literal>:listener</literal>).</para> 
    21862211        </listitem> 
    21872212      </varlistentry> 
    21882213 
     
    21902215        <term><varname>application-class</varname></term> 
    21912216        <listitem> 
    21922217          <para>The CLOS class that represents the saved Lisp 
    2193             application. Normally you don't need to supply this 
    2194             parameter; <literal>CCL:SAVE-APPLICATION</literal> uses the 
    2195             class <literal>CCL:LISP-DEVELOPMENT-SYSTEM</literal>. In some 
    2196             cases you may choose to create a custom application class; 
    2197             in that case, pass the name of the class as the value for 
    2198             this parameter.</para> 
     2218          application. Normally you don't need to supply this 
     2219          parameter; <literal>CCL:SAVE-APPLICATION</literal> uses the 
     2220          class <literal>CCL:LISP-DEVELOPMENT-SYSTEM</literal>. In 
     2221          some cases you may choose to create a custom application 
     2222          class; in that case, pass the name of the class as the value 
     2223          for this parameter. When making a production executable that 
     2224          is not meant to be debugged, you may wish to use 
     2225          <literal>CCL:APPLICATION</literal>.</para> 
    21992226        </listitem> 
    22002227      </varlistentry> 
    22012228       
     
    22692296         </para>            
    22702297      </listitem> 
    22712298      </varlistentry> 
     2299 
    22722300     <varlistentry> 
     2301        <term><varname>application-type</varname></term> 
     2302        <listitem> 
     2303          <para>Specifies the application's type. If supplied, is 
     2304          either :console or :gui. Availability: Windows. 
     2305          </para> 
     2306      </listitem> 
     2307      </varlistentry> 
     2308 
     2309     <varlistentry> 
    22732310        <term><varname>native</varname></term> 
    22742311        <listitem> 
    22752312          <para>If true, saves the image as a native (ELF, Mach-O, PE)