]> git.eshelyaron.com Git - emacs.git/commit
Prohibit unbinding of built-in variables
authorPo Lu <luangruo@yahoo.com>
Mon, 22 Jul 2024 01:56:08 +0000 (09:56 +0800)
committerEshel Yaron <me@eshelyaron.com>
Mon, 22 Jul 2024 10:39:30 +0000 (12:39 +0200)
commit1fcfad9e67c8ea996f87a522cfacefaf49e16ec8
tree6ed0fde044f64fad8fe079147e2ef9a1180c26c3
parent953e6b37c3c410e234beef485599d532d1496d8d
Prohibit unbinding of built-in variables

* src/data.c (set_internal): Signal error if a BLV with a
redirect or a forwarded symbol is being unbound.

* test/src/data-tests.el (binding-test-makunbound-built-in): New
test.

(cherry picked from commit da0165a01e01dcb4334feee03b462ac09ceb0f8c)
src/data.c
test/src/data-tests.el