27 Jun 2012 17:22
bug#11796: 24.1; message-mode and mailcap-add
<harven <at> free.fr>
2012-06-27 15:22:31 GMT
2012-06-27 15:22:31 GMT
I have just built emacs 24.1 from the sources on the fsf website and
there is an option from my emacs23 init file that doesn't work anymore.
Here is the recipe.
Starting from emacs -Q,
type and execute the following in the *scratch* buffer.
(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
and the *mail* buffer does not appear.
Under emacs23, no error is reported and the *mail* buffer appears as
expected. Is there some way to get this behavior back ?
Sincerely,
Harven.
In GNU Emacs 24.1.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
of 2012-06-27 on ergodik
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
(Continue reading)
RSS Feed