On Thu, Aug 12, 2010 at 02:37:53PM +0200, Luk Bettale wrote:

> I am not an elisp expert but I think this is due to an update of
> the called-interactively-p function which does not take optional
> argument anymore.

I confirm that this fix works for me as well. Thanks for finding the
problem.

This indeed changed in Emacs 23.2:

http://www.gnu.org/software/emacs/NEWS.23.2

" called-interactively-p now takes one argument and replaces
interactive-p which is now marked obsolete. "

I'd also like to note that due to this change, the Elisp documentation
available in Squeeze (emacs23-common-non-dfsg 23.2+1-1) contradicts
the actual behaviour (emacs23 23.1+1-5):


 -- Function: called-interactively-p kind
     This function returns `t' when the calling function was called
     using `call-interactively'.

     The argument KIND should be either the symbol `interactive' or the
     symbol `any'.


So either Emacs in Squeeze should be upgraded to v23.2 or its
documentation downgraded to v23.1

For dictionaries-common, perhaps using `interactive-p' is enough to
fix the problem, because although the function is deprecated in the
latest Emacs version, it should work OK in both.

Berto



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to