viewmail-info
[Top][All Lists]
Advanced

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

Re: [VM] Bug or feature that vm-imap-folder-p not defined when vm loaded


From: Uday Reddy
Subject: Re: [VM] Bug or feature that vm-imap-folder-p not defined when vm loaded?
Date: Mon, 2 Jul 2012 17:54:00 +0100

address@hidden writes:

> The function vm-imap-folder-p is in vm-save which doesn't seem to be
> autoloaded when vm is started. This causes an error for me since I use
> vm-imap-folder-p in the vm-mode-hook. I can of course avoid this error by
> running (require 'vm-save) first but should this be necessary?

The right way to check if a folder is an IMAP folder is by using the
expression:

  (eq vm-folder-access-method 'imap)

The function vm-imap-folder-p was in some user-contributed code and I don't
expect that it will continue to stay there.

Cheers,
Uday



reply via email to

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