summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/eldoc.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@union>2017-11-26 19:15:14 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2017-11-26 19:16:47 -0800
commitac64fdb248d791b204cf579f878f8542ded0d067 (patch)
tree64bf9c2453b2cbec09d372ccdbd8aead9e508f99 /lisp/emacs-lisp/eldoc.el
parent700f74e4c8d1b33cdf96dab9586dc41ebccaba7d (diff)
downloademacs-ac64fdb248d791b204cf579f878f8542ded0d067.tar.gz
emacs-ac64fdb248d791b204cf579f878f8542ded0d067.tar.bz2
emacs-ac64fdb248d791b204cf579f878f8542ded0d067.zip
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.
Diffstat (limited to 'lisp/emacs-lisp/eldoc.el')
0 files changed, 0 insertions, 0 deletions