]> git.eshelyaron.com Git - emacs.git/commit
Use `eql` or `eq` instead of `=` in some places
authorMattias Engdegård <mattiase@acm.org>
Sat, 27 Aug 2022 12:20:38 +0000 (14:20 +0200)
committerMattias Engdegård <mattiase@acm.org>
Thu, 15 Sep 2022 07:42:53 +0000 (09:42 +0200)
commit824ae5faeec9cfa5e14e750030d55800b08ad7f2
tree25698af46b03cd7539b9876fbe9c1dd15ab3156e
parent3ad2adc48c700a8c15459f623081c32420f0b726
Use `eql` or `eq` instead of `=` in some places

For a switch op to be generated, comparisons must be made using `eq`,
`eql` or `equal`, not `=`.

* lisp/emacs-lisp/byte-opt.el (byte-optimize-lapcode):
* lisp/files.el (file-modes-char-to-who, file-modes-char-to-right):
* lisp/international/titdic-cnv.el (tit-process-header):
* lisp/language/ethio-util.el (ethio-input-special-character)
(ethio-fidel-to-tex-buffer):
* lisp/language/lao.el (consonant):
Use `eq` or `eql` instead of `=`.

In these cases either `eq` or `eql` would do and the choice does not
affect the resulting code.  We compare numbers with `eql` and
characters with `eq` as a matter of style.
lisp/emacs-lisp/byte-opt.el
lisp/files.el
lisp/international/titdic-cnv.el
lisp/language/ethio-util.el
lisp/language/lao.el