]> git.eshelyaron.com Git - emacs.git/commit
Cleanup `string-equal-ignore-case' declarations.
authorSam Steingold <sds@gnu.org>
Thu, 28 Jul 2022 16:35:21 +0000 (12:35 -0400)
committerSam Steingold <sds@gnu.org>
Thu, 28 Jul 2022 16:36:21 +0000 (12:36 -0400)
commiteeeb481750b5cec264af0f4ea5298cae011e5050
treefa0a52ecceda4e14d10f714a3ec1a57982805a98
parent6023b95948e85f44d827e0066832de145737aea7
Cleanup `string-equal-ignore-case' declarations.

Also, a minor declaration cleanup for other `compare-strings' thin wrappers.
* lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Remove
  `string-equal-ignore-case', `string-prefix-p', `string-suffix-p'.
(side-effect-and-error-free-fns): Add `proper-list-p' (it already
  was in `pure-fns').
(pure-fns): Remove `string-prefix-p', `string-suffix-p'
  (`string-equal-ignore-case' was missing here).
* lisp/subr.el (proper-list-p): Remove partially duplicate `put's from here.
(string-equal-ignore-case, string-prefix-p, string-suffix-p): Add
  `pure' and `side-effect-free' declarations.
(string-equal-ignore-case): Make inline.
lisp/emacs-lisp/byte-opt.el
lisp/subr.el