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: Richard Stallman
Subject: Re: how-many/count-matches for non-interactive use
Date: Fri, 15 Oct 2004 08:22:54 -0400

    (defun how-many (regexp &optional rstart rend)
      "..."
      (interactive
       (keep-lines-read-args "How many matches for (regexp): "))

    How do I use "p" here?

Since it is using Lisp code, you just do it with more Lisp code.  Add
a t to the list in a place that corresponds to where the new extra arg
gets its value.




reply via email to

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