mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
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.
This commit is contained in:
parent
8bcc781bc7
commit
7ac79872ae
4 changed files with 13 additions and 5 deletions
|
|
@ -661,7 +661,7 @@ Return list of symbols and documentation found."
|
|||
(defun apropos-library-button (sym)
|
||||
(if (null sym)
|
||||
"<nothing>"
|
||||
(let ((name (copy-sequence (symbol-name sym))))
|
||||
(let ((name (symbol-name sym)))
|
||||
(make-text-button name nil
|
||||
'type 'apropos-library
|
||||
'face 'apropos-symbol
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue