auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] [PATCH] Add indentation for tabular environment


From: Oleh
Subject: Re: [AUCTeX] [PATCH] Add indentation for tabular environment
Date: Fri, 11 Oct 2013 14:55:29 +0200

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 <address@hidden> wrote:
David Kastrup <address@hidden> 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


reply via email to

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