diff options
| author | Paul Eggert | 2020-06-06 12:05:10 -0700 |
|---|---|---|
| committer | Paul Eggert | 2020-06-06 12:07:30 -0700 |
| commit | 7ac79872aed63110c0d26c1e62e1838d6101c9bd (patch) | |
| tree | dce387320ac1e58ba78d17a1df2ae9d9b22e4e51 /etc | |
| parent | 8bcc781bc762b4082cfd678b88938e3d03465d91 (diff) | |
| download | emacs-7ac79872aed63110c0d26c1e62e1838d6101c9bd.tar.gz emacs-7ac79872aed63110c0d26c1e62e1838d6101c9bd.zip | |
make-text-button no longer modifies its string arg
* etc/NEWS: Mention this.
* lisp/apropos.el (apropos-library-button):
* lisp/ibuf-ext.el (ibuffer-old-saved-filters-warning):
There’s no longer a need copy make-text-button’s string arg.
* lisp/button.el (make-text-button): Return a copy of a string arg.
Delay making the copy until after error-checking.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -476,6 +476,11 @@ are 'eq'. To compare contents, use 'compare-window-configurations' | |||
| 476 | instead. This change helps fix a bug in 'sxhash-equal', which returned | 476 | instead. This change helps fix a bug in 'sxhash-equal', which returned |
| 477 | incorrect hashes for window configurations and some other objects. | 477 | incorrect hashes for window configurations and some other objects. |
| 478 | 478 | ||
| 479 | ** When its first argument is a string, 'make-text-button' no longer | ||
| 480 | modifies the string's text properties; instead, it uses and returns | ||
| 481 | a copy of the string. This helps avoid trouble when strings are | ||
| 482 | shared or constants. | ||
| 483 | |||
| 479 | --- | 484 | --- |
| 480 | ** The obsolete function 'thread-alive-p' has been removed. | 485 | ** The obsolete function 'thread-alive-p' has been removed. |
| 481 | 486 | ||