From: Mattias EngdegÄrd Date: Tue, 30 May 2023 09:14:01 +0000 (+0200) Subject: ; * admin/admin.el (cusver-scan): remove broken warning X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=845f97d475b2b1f963ab078a11e0baf5388dd5b2;p=emacs.git ; * admin/admin.el (cusver-scan): remove broken warning The call to `format-message` had no effect in itself, but it turns out that actually emitting the result just results in useless warnings so we remove it entirely. --- diff --git a/admin/admin.el b/admin/admin.el index 90f810b79c6..1f4c6986b0e 100644 --- a/admin/admin.el +++ b/admin/admin.el @@ -1038,8 +1038,7 @@ If optional argument OLD is non-nil, also scan for `defvar's." (and grp (setq grp (car (cdr-safe grp))) ; (quote foo) -> foo (setq ver (assq grp glist)))) - (setq alist (cons (cons var ver) alist)))) - (if form (format-message "Malformed defcustom: `%s'" form))))) + (setq alist (cons (cons var ver) alist))))))) (message "%sdone" m) alist))