]> git.eshelyaron.com Git - emacs.git/commit
Fix make-text-button bug with string copy
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 3 Jun 2020 22:39:29 +0000 (15:39 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 3 Jun 2020 22:39:51 +0000 (15:39 -0700)
commit6dad339f064df180e8f2c6257ffb53a6f341c4ec
tree40875e832a4450549920204a36de91e2863a60ba
parentbd20af2d41f24c9e59acb867a1a4485284cb2a65
Fix make-text-button bug with string copy

* lisp/button.el (make-text-button): Use the copy of BEG
uniformly, instead of in just one place.  This fixes a typo
introduced in 2020-05-17T05:23:28Z!eggert@cs.ucla.edu.
Problem reported by João Távora in:
https://lists.gnu.org/r/emacs-devel/2020-06/msg00117.html
lisp/button.el