[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#43300: [PATCH] Make M-x show new commands for obsolete aliases
From: |
Juri Linkov |
Subject: |
bug#43300: [PATCH] Make M-x show new commands for obsolete aliases |
Date: |
Wed, 18 Nov 2020 11:14:18 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
unarchive 43300
quit
> Please find attached two patches that tweaks how M-x
> (execute-extended-command) works:
>
> 1. Show obsolete commands, and give their new name as an annotation.
I noticed that some commands have " (nil)" appended as annotations
in M-x completions, e.g. 'M-x browse- TAB'. Looks like " (nil)"
is returned in read-extended-command--annotation:
(obsolete
(format " (%s)" (car obsolete)))
- bug#43300: [PATCH] Make M-x show new commands for obsolete aliases,
Juri Linkov <=