That one doesn't work either, since I'm calling it on a string,
which is a vector and not a list.
I just side-stepped the issue by calling `how-may' instead.
Here's an updated patch.
It uses `cl-reduce', which is probably not what you want.
What's the compatible replacement for `cl-reduce'?

regards,
Oleh




On Fri, Oct 11, 2013 at 12:22 PM, Tassilo Horn <[email protected]> wrote:

> David Kastrup <[email protected]> writes:
>
> >> (if (fboundp 'cl-count)
> >>     (defalias 'TeX-count 'cl-count
> >>       "Return the number of occurences of the ITEM in LIST.
> >> The tests are done with `eql'.")
> >
> > Not sure that's good.  AUCTeX does
> >
> > (eval-when-compile
> >   (require 'cl))
> >
> > in tex.el so the alias will be defined when byte-compiling, but that
> > does not mean that you can use cl-count at run-time.
>
> Good point.  So Oleh, just use the definition in the else-clause.
>
> Bye,
> Tassilo
>

Attachment: 0001-Add-indentation-for-tabular-environment.patch
Description: Binary data

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

Reply via email to