summaryrefslogtreecommitdiff
path: root/lisp/ibuf-ext.el
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2020-06-06 12:05:10 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2020-06-06 12:07:30 -0700
commit7ac79872aed63110c0d26c1e62e1838d6101c9bd (patch)
treedce387320ac1e58ba78d17a1df2ae9d9b22e4e51 /lisp/ibuf-ext.el
parent8bcc781bc762b4082cfd678b88938e3d03465d91 (diff)
downloademacs-7ac79872aed63110c0d26c1e62e1838d6101c9bd.tar.gz
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 'lisp/ibuf-ext.el')
-rw-r--r--lisp/ibuf-ext.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ibuf-ext.el b/lisp/ibuf-ext.el
index c39000b4886..bfb9787a96d 100644
--- a/lisp/ibuf-ext.el
+++ b/lisp/ibuf-ext.el
@@ -202,7 +202,7 @@ The format has been repaired and the variable modified accordingly.
You can save the current value through the customize system by
either clicking or hitting return "
(make-text-button
- (copy-sequence "here") nil
+ "here" nil
'face '(:weight bold :inherit button)
'mouse-face '(:weight normal :background "gray50" :inherit button)
'follow-link t