mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-25 07:28:20 +00:00
88ed501abe
* src/image.c (anim_prune_animation_cache): Prefer NILP (x) to EQ (x, Qnil). * admin/coccinelle/nilp.cocci: Semantic patch for above change.
7 lines
81 B
Plaintext
7 lines
81 B
Plaintext
// Prefer NILP (x) to EQ (x, Qnil)
|
|
@@
|
|
expression X;
|
|
@@
|
|
- EQ (X, Qnil)
|
|
+ NILP (X)
|