summaryrefslogtreecommitdiff
path: root/lisp/vc/vc-git.el
diff options
context:
space:
mode:
authorMattias EngdegÄrd <mattiase@acm.org>2021-09-19 16:16:34 +0200
committerMattias EngdegÄrd <mattiase@acm.org>2021-09-19 16:22:29 +0200
commit5252c45850b3c4a3914f6c94dc163c2c23286bbf (patch)
tree84fb4e8f3b2e37a3f0fb2059b47b05c40ebffa7d /lisp/vc/vc-git.el
parent83508013a8d55bc70dfb716c253c7c4ec8848ab4 (diff)
downloademacs-5252c45850b3c4a3914f6c94dc163c2c23286bbf.tar.gz
emacs-5252c45850b3c4a3914f6c94dc163c2c23286bbf.tar.bz2
emacs-5252c45850b3c4a3914f6c94dc163c2c23286bbf.zip
Initialise unread buffer
The reader has an extra 1-char unread buffer that was incorrectly initialised to 0, which means that the first character read would always be NUL. As this is often the code that looks for the lexical-binding cookie, the first loaded source module would be treated as dynamically bound. During bootstrapping this is loadup.el and so its local variables got dumped into the global environment. * src/lread.c (unread_char): Initialise to empty. (Fload): Initialise here too just in case.
Diffstat (limited to 'lisp/vc/vc-git.el')
0 files changed, 0 insertions, 0 deletions