]> git.eshelyaron.com Git - emacs.git/commit
Prefer NILP (x) to EQ (x, Qnil)
authorStefan Kangas <stefankangas@gmail.com>
Thu, 4 Jan 2024 00:49:34 +0000 (01:49 +0100)
committerEshel Yaron <me@eshelyaron.com>
Thu, 4 Jan 2024 21:15:47 +0000 (22:15 +0100)
commit3daa19837ecbe13c35084512e0586c10cd96caa5
tree952f0b6998ad72722160b85237342d6508d7001d
parentd14dc07f7951732b964585f84f62d53d9aa2bcbd
Prefer NILP (x) to EQ (x, Qnil)

* src/image.c (anim_prune_animation_cache):
Prefer NILP (x) to EQ (x, Qnil).
* admin/coccinelle/nilp.cocci: Semantic patch for above change.

(cherry picked from commit 88ed501abe9666fced46703613c000c26e450ad8)
admin/coccinelle/nilp.cocci [new file with mode: 0644]
src/image.c