Subject: Re: bug#20286: 25.0.50; Alias to undefined command

From: Philipp Stephani <[email-masked]>
Date: Thu, 09 Apr 2015 18:47:59 +0000

Eli Zaretskii <[email-masked]> schrieb am Do., 9. Apr. 2015 um 20:36 Uhr:

> > From: Philipp Stephani <[email-masked]>
> > Date: Thu, 09 Apr 2015 20:10:59 +0200
> >
> >
> > Start Emacs as an OS X GUI app.  Then, evaluate
> >
> >     (global-set-key (kbd "s-i") #'foo)
> >
> > where `foo' is undefined.
> > Then, press C-h k s-i.  The help buffer explains:
> >
> >     s-i runs the command foo (found in global-map), which is an alias
> >     for `foo', which is not defined.  Please make a bug report.
>
> To solve this "bug", don't bind a key to a function that is undefined.
>

The bug is about the message printed by describe-function, see the dupe.