Ensure button-get works in any buffer
commitf7c4bad17d83297ee9a1b57552b1944020f23aea
authorWilfred Hughes <me@wilfred.me.uk>
Mon, 29 May 2017 00:00:05 +0000 (29 01:00 +0100)
committerWilfred Hughes <me@wilfred.me.uk>
Mon, 29 May 2017 00:00:05 +0000 (29 01:00 +0100)
treeea53c36fdd0cc84a11bf3a2c2e09b247bd984e6c
parent3bc3dc406343bd7e50acae7c0f9d5f8cc89420cd
Ensure button-get works in any buffer

* lisp/button.el (button-get): Previously we assumed that button-get
  was called in the buffer containing the button.  In other buffers,
  button-get always returned nil.  Fix this by passing the relevant
  buffer from the marker.
lisp/button.el