aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorPaul Eggert2020-06-06 12:05:10 -0700
committerPaul Eggert2020-06-06 12:07:30 -0700
commit7ac79872aed63110c0d26c1e62e1838d6101c9bd (patch)
treedce387320ac1e58ba78d17a1df2ae9d9b22e4e51 /etc
parent8bcc781bc762b4082cfd678b88938e3d03465d91 (diff)
downloademacs-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/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 27e511047e6..edad5b37d6c 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -476,6 +476,11 @@ are 'eq'. To compare contents, use 'compare-window-configurations'
476instead. This change helps fix a bug in 'sxhash-equal', which returned 476instead. This change helps fix a bug in 'sxhash-equal', which returned
477incorrect hashes for window configurations and some other objects. 477incorrect hashes for window configurations and some other objects.
478 478
479** When its first argument is a string, 'make-text-button' no longer
480modifies the string's text properties; instead, it uses and returns
481a copy of the string. This helps avoid trouble when strings are
482shared 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