summaryrefslogtreecommitdiff
path: root/devdocs/elisp/warning-options.html
blob: 9976fd70f24c101ecce05da8373386dc4a72318b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
 <h4 class="subsection">Warning Options</h4>  <p>These variables are used by users to control what happens when a Lisp program reports a warning. </p> <dl> <dt id="warning-minimum-level">User Option: <strong>warning-minimum-level</strong>
</dt> <dd><p>This user option specifies the minimum severity level that should be shown immediately to the user. The default is <code>:warning</code>, which means to immediately display all warnings except <code>:debug</code> warnings. </p></dd>
</dl> <dl> <dt id="warning-minimum-log-level">User Option: <strong>warning-minimum-log-level</strong>
</dt> <dd><p>This user option specifies the minimum severity level that should be logged in the warnings buffer. The default is <code>:warning</code>, which means to log all warnings except <code>:debug</code> warnings. </p></dd>
</dl> <dl> <dt id="warning-suppress-types">User Option: <strong>warning-suppress-types</strong>
</dt> <dd><p>This list specifies which warning types should not be displayed immediately for the user. Each element of the list should be a list of symbols. If its elements match the first elements in a warning type, then that warning is not displayed immediately. </p></dd>
</dl> <dl> <dt id="warning-suppress-log-types">User Option: <strong>warning-suppress-log-types</strong>
</dt> <dd><p>This list specifies which warning types should not be logged in the warnings buffer. Each element of the list should be a list of symbols. If it matches the first few elements in a warning type, then that warning is not logged. </p></dd>
</dl><div class="_attribution">
  <p class="_attribution-p">
    Copyright &copy; 1990-1996, 1998-2022 Free Software Foundation, Inc. <br>Licensed under the GNU GPL license.<br>
    <a href="https://www.gnu.org/software/emacs/manual/html_node/elisp/Warning-Options.html" class="_attribution-link">https://www.gnu.org/software/emacs/manual/html_node/elisp/Warning-Options.html</a>
  </p>
</div>