mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 14:30:50 -08:00
(macroexp--obsolete-warning): Prefer %s
* lisp/emacs-lisp/macroexp.el (macroexp--obsolete-warning): `instead` can be a list. * lisp/dom.el (dom-text, dom-texts): Fix obsolescence declaration.
This commit is contained in:
parent
f1a18e8411
commit
f97abe6200
2 changed files with 4 additions and 4 deletions
|
|
@ -212,8 +212,8 @@ It should normally be a symbol with position and it defaults to FORM."
|
|||
(if asof (concat " (as of " asof ")") "")
|
||||
(cond ((stringp instead) (concat "; " (substitute-command-keys instead)))
|
||||
((and instead key)
|
||||
(format-message "; use `%s' (%s) instead." instead key))
|
||||
(instead (format-message "; use `%s' instead." instead))
|
||||
(format-message "; use `%S' (%s) instead." instead key))
|
||||
(instead (format-message "; use `%S' instead." instead))
|
||||
(t ".")))))
|
||||
|
||||
(defun macroexpand-1 (form &optional environment)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue