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

From: Eli Zaretskii <[email-masked]>
Date: Thu, 09 Apr 2015 21:36:34 +0300

> 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.