Files
emacs/lisp
Mattias Engdegård aef996cd34 Consolidate existing warnings about unused return values
Move the warning about unused return values from calls to
side-effect-free functions from the source-level optimiser to the code
generator, where it can be unified with the special-purpose warning
about unused values from `mapcar`.  This change also cures spurious
duplicate warnings about the same code, makes the warnings amenable to
suppression through `with-suppressed-warnings`, and now warns about
some unused values that weren't caught before.

* lisp/emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
Move warning away from here.
* lisp/emacs-lisp/byte-run.el (with-suppressed-warnings):
* lisp/emacs-lisp/bytecomp.el (byte-compile-warnings):
Doc string updates.
(byte-compile-form): Put the new warnings here.
(byte-compile-normal-call): Move mapcar warning away from here.
* lisp/emacs-lisp/bytecomp.el (byte-compile-ignore):
Compile args to `ignore` for value to avoid unused-value warnings, and
then discard the generated values immediately thereafter.  Mostly this
does not affect the generated code but in rare cases it might result
in slightly worse code.
* test/lisp/emacs-lisp/bytecomp-tests.el
(bytecomp-test--with-suppressed-warnings): Adapt test.
2023-04-08 19:34:30 +02:00
..
2023-03-03 13:49:18 -08:00
2023-04-06 14:38:20 -04:00
2023-04-06 14:38:20 -04:00
2023-04-02 23:03:32 -04:00
2023-03-20 06:30:39 +01:00
2023-01-17 06:30:08 +01:00
2023-03-01 06:30:20 +01:00
2023-03-20 06:30:32 +01:00
2023-02-03 06:30:24 +01:00
2023-04-03 00:33:03 +01:00
2023-02-24 06:30:11 +01:00
2023-02-03 18:03:18 +01:00
2023-03-09 12:04:52 +02:00
2023-04-07 12:57:59 +01:00
2023-02-17 16:20:45 +01:00
2023-03-27 17:16:58 -04:00
2023-03-29 14:56:20 +03:00
2023-02-18 10:58:00 +02:00
2023-04-08 11:51:43 +01:00
2023-04-06 14:38:20 -04:00
2023-02-05 18:52:59 +02:00
2023-03-20 09:47:32 +01:00
2023-04-01 05:10:48 +02:00
2023-03-02 20:45:02 +08:00
2023-04-06 14:38:13 -04:00
2023-02-18 10:45:46 +01:00
2023-04-06 14:38:20 -04:00
2023-02-03 06:30:24 +01:00
2023-03-30 21:55:22 -07:00
2023-01-06 10:06:25 +01:00
2023-03-29 06:30:09 +02:00

This directory contains source code for the parts of Emacs that are
written in Emacs Lisp.  *.el files are Emacs Lisp source, and the
corresponding *.elc files are byte-compiled versions.  Byte-compiled
files are architecture-independent.

The term subdirectory contains Lisp files that customize Emacs for
certain terminal types.  When Emacs starts, it checks the TERM
environment variable to get the terminal type and loads
'term/${TERM}.el' if it exists.

The other subdirectories hold Lisp packages grouped by their general
purpose.