Tassilo Horn <[email protected]> writes:

> Oleh <[email protected]> writes:
>
> Hi again,
>
>> That one doesn't work either, since I'm calling it on a string, which
>> is a vector and not a list.
>
> Ah, yes, I've overlooked that.
>
>> I just side-stepped the issue by calling `how-may' instead.
>
> Won't work either.  On XEmacs, `how-many' only has one argument REGEXP,
> so you can't restrict it to a region.  :-(

Huh?

(save-restriction
  (narrow-to-region ... ...)
  (goto-char (point-min))
  (how-many ...))

-- 
David Kastrup

_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to