]> git.eshelyaron.com Git - emacs.git/commit
Error when trying to make nil or t obsolete
authorStefan Kangas <stefankangas@gmail.com>
Wed, 6 Sep 2023 09:21:39 +0000 (11:21 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Thu, 7 Sep 2023 23:01:16 +0000 (01:01 +0200)
commit802a54ad6205479b29aaae9e737b665d8dfbdf91
treeed2fb82da00f01fb397cfead53941c0e915f7702
parent331dee7e4a8d7b4f0e90de71c71bac58d998cdff
Error when trying to make nil or t obsolete

* lisp/emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
Signal error if the symbol to make obsolete is nil or t.  (Bug#62248)
(byte-run--constant-obsolete-warning): New function.
* test/lisp/emacs-lisp/byte-run-tests.el: New file.
lisp/emacs-lisp/byte-run.el
test/lisp/emacs-lisp/byte-run-tests.el [new file with mode: 0644]