]> git.eshelyaron.com Git - emacs.git/commit
Revert make-text-button string copy
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 4 Jun 2020 01:15:54 +0000 (18:15 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 4 Jun 2020 01:16:33 +0000 (18:16 -0700)
commit65749436d03fd0b9e379dcc06cc678522c6960cf
tree5efef329c2473d9f47af04be87c7a737d39d948f
parent6dad339f064df180e8f2c6257ffb53a6f341c4ec
Revert make-text-button string copy

* lisp/button.el (make-text-button): Don’t make a copy of
a button’s string label.  This reverts the change made in
2020-05-17T05:23:28Z!eggert@cs.ucla.edu, which broke SLY.
Problem reported by João Távora in:
https://lists.gnu.org/r/emacs-devel/2020-06/msg00117.html
However, we’ll need a better fix for this once string
literals become contents, if SLY uses string constants
for text button labels.
lisp/button.el