]> code.delx.au - gnu-emacs/commit
Port undo fixes to -fno-common
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 21 Dec 2015 01:27:28 +0000 (17:27 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 21 Dec 2015 01:27:54 +0000 (17:27 -0800)
commit3864302c81d29c762c8ae31626bf22df69a8c99f
tree350e8a63cde1c5ea3609757e0eba091b22f2faf7
parent4851616b4d2e14cdf970b9029f0d4b00083a08f5
Port undo fixes to -fno-common

Port recent fix for Bug#21968 to platforms like 'gcc -fno-common'.
* src/keyboard.c, src/keyboard.h (point_before_last_command_or_undo)
(buffer_before_last_command_or_undo):
Declare in keyboard.h, and define in keyboard.c,
instead of assuming the traditional Unix relaxed ref-def linkage.
src/keyboard.c
src/keyboard.h