emacs-devel
[Top][All Lists]
Advanced

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

Re: how-many/count-matches for non-interactive use


From: Kim F. Storm
Subject: Re: how-many/count-matches for non-interactive use
Date: Tue, 26 Oct 2004 10:19:32 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

Luc Teirlinck <address@hidden> writes:

> The list of files _outside the main Lisp directory_ that contain calls
> to `interactive-p', which I sent yesterday, contained 18 false alarms
> due to imperfect grepping.  Here is the corrected list.  It contains
> 49 files.

> emulation/cua-base.el


This call is intentional.

It occurs in (define-minor-mode cua-mode ...) to avoid
outputting a longish message when used non-interactively
(e.g. when cua-mode is enabled in .emacs).  Since it only
guards a message, it's ok with macros execution as well.

BTW, in define-minor-mode, you cannot use the (interactive "p")
alternative to check for interactive usage.

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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