]> git.eshelyaron.com Git - emacs.git/commit
Count (not X) as a switch condition
authorMattias Engdegård <mattiase@acm.org>
Tue, 20 Jul 2021 15:23:11 +0000 (17:23 +0200)
committerMattias Engdegård <mattiase@acm.org>
Tue, 20 Jul 2021 17:21:00 +0000 (19:21 +0200)
commit51a86b6a0504d580d3e10efe41abf3ae42c90711
tree3d257a1e0ac3cdb27cc0294617be8eea878fe491
parent0c58796a2224e9b5d97a07033998099609150571
Count (not X) as a switch condition

* lisp/emacs-lisp/bytecomp.el (byte-compile--cond-switch-prefix):
Treat (not VAR) and (null VAR) as (eq VAR nil) when computing the
extent of switch ops.
lisp/emacs-lisp/bytecomp.el