Harden exec_byte_code against redefining 'error'
commitac64fdb248d791b204cf579f878f8542ded0d067
authorPaul Eggert <eggert@union>
Mon, 27 Nov 2017 03:15:14 +0000 (26 19:15 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 27 Nov 2017 03:16:47 +0000 (26 19:16 -0800)
tree64bf9c2453b2cbec09d372ccdbd8aead9e508f99
parent700f74e4c8d1b33cdf96dab9586dc41ebccaba7d
Harden exec_byte_code against redefining 'error'

Problem discovered by configuring with --enable-gcc-warnings on
Ubuntu 17.10 x86-64 with gcc (Ubuntu 7.2.0-8ubuntu3).
* src/bytecode.c (exec_byte_code): Call the C error function
instead of the Lisp one, so that the Emacs interpreter does not go
haywire if the user redefines the Lisp error function.
src/bytecode.c