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: Luc Teirlinck
Subject: Re: how-many/count-matches for non-interactive use
Date: Wed, 20 Oct 2004 22:22:03 -0500 (CDT)

>From my previous message:

   In other words, instead of changing the behavior of `interactive-p',
   it would seem to make relatively more sense to do (in the `how-many' code
   and any similar places):

   (if (interactive-p)
       (message "%d occurrences" count)
     (with-current-buffer "*Messages*"
       (insert (format "%d occurrences" count))))

Well:

(insert (format "%d occurrences\n" count))

Sincerely,

Luc.




reply via email to

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