GNU bug report logs - #43300
[PATCH] Make M-x show new commands for obsolete aliases

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefan <at> marxist.se>

Date: Thu, 10 Sep 2020 00:00:02 UTC

Severity: wishlist

Tags: fixed, patch

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Basil L. Contovounesios" <contovob <at> tcd.ie>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 43300 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi <at> gnus.org>, Stefan Monnier <monnier <at> iro.umontreal.ca>, Juri Linkov <juri <at> linkov.net>
Subject: bug#43300: [PATCH] Make M-x show new commands for obsolete aliases
Date: Wed, 17 Feb 2021 13:26:21 +0000
Stefan Kangas <stefan <at> 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




This bug report was last modified 4 years and 5 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.