Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port hackernews--button-string to Emacs 28
When its first argument is a string, make-text-button failed to return it until Emacs 24.3, and no longer modifies it since Emacs 28[1], so a compatibility shim is necessary. This was reported in the following emacs-devel thread: https://lists.gnu.org/archive/html/emacs-devel/2020-06/msg00117.html [1]: Don’t attempt to modify constant strings 313955110b 2020-05-16 22:25:07 -0700 https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=313955110b242cd18fc19bd168032d3ddf39fe94
- Loading branch information