[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11796: 24.1; message-mode and mailcap-add

From: Reiner Steib
Subject: bug#11796: 24.1; message-mode and mailcap-add
Date: Sun, 01 Jul 2012 17:32:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)

On Wed, Jun 27 2012, address@hidden wrote:

> (add-hook 'message-mode-hook (lambda ()
>     (mailcap-add "application/pdf" "gv --safer %s")))
> Then try sending a message with C-x m.
> This gives the following message:
> Symbol's function definition is void: mailcap-add

Beyond Glenn's suggestion, I doubt that `message-mode-hook' is
suitable for adding mailcap entries since mailcap is typically used
when displaying articles whereas Message mode is for composing it.

Bye, Reiner.
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]