* lisp/emacs-lisp/byte-run.el (byte-run--set-obsolete): The `when'
is a string (or nil), so don't quote it (bug#48145).
* lisp/emacs-lisp/loaddefs-gen.el (loaddefs-generate--print-form):
Adjust folding.
(defalias 'byte-run--set-obsolete
#'(lambda (f _args new-name when)
(list 'make-obsolete
- (list 'quote f) (list 'quote new-name) (list 'quote when))))
+ (list 'quote f) (list 'quote new-name) when)))
(defalias 'byte-run--set-interactive-only
#'(lambda (f _args instead)
"Print DEF in the way make-docfile.c expects it."
(if (or (not (consp def))
(not (symbolp (car def)))
+ (eq (car def) 'make-obsolete)
(not (stringp (nth 3 def))))
(prin1 def (current-buffer) t)
;; The salient point here is that we have to have the doc string