Subject: Re: bug#17979: 24.3.92; Unhelpful error message with bad mail-user-agent

From: Lars Ingebrigtsen <[email-masked]>
Date: Sun, 15 Apr 2018 20:06:46 +0200

Juliusz Chroboczek <[email-masked]> writes:

> I just made a typo:
>
>   (setq mail-user-agent 'no-such-user-agent)
>
> If I call compose-mail, I receive the following error message:
>
>   compose-mail: Symbol's function definition is void: nil
>
> Granted, it's a user error, but the error message could be more helpful.

I've now made the error message more explicit in Emacs 27.1.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no