|
From: | Basil L. Contovounesios |
Subject: | bug#43300: [PATCH] Make M-x show new commands for obsolete aliases |
Date: | Wed, 17 Feb 2021 13:26:21 +0000 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Stefan Kangas <stefan@marxist.se> writes: > + ;; Exclude from completions obsolete commands > + ;; lacking a `current-name', or where `when' is > + ;; not the current major version. > + (lambda (sym) > + (let ((obsolete (get sym 'byte-obsolete-info))) > + (and (funcall pred sym) > + (or (equal string (symbol-name sym)) AKA string=. Thanks, -- Basil
[Prev in Thread] | Current Thread | [Next in Thread] |