Arne Jørgensen <[EMAIL PROTECTED]> writes:

> David Kastrup <[EMAIL PROTECTED]> writes:
>
>> Jobst Hoffmann <[EMAIL PROTECTED]> writes:
>>
>>> Emacs  : XEmacs 21.4 (patch 17) "Jumbo Shrimp" [Lucid] (i686-pc-linux)
>>> of Wed Feb  9 2005 on thinktwiceIV.phytech.fh-aachen.de
>>> Package: 2005-10-21
>>
>>     `defvaralias' is a built-in function
>>     (defvaralias VARIABLE ALIAS)
>>
>>     Documentation:
>>     Define a variable as an alias for another variable.
>>     [...]
>>
>> Delete the documentation string.  The other two arguments of the
>> function and their order are ok.
>
> Ah. The usual "XEmacs is different" thing. My GNU Emacs 22 has:
>
>   defvaralias is a built-in function in `C source code'.
>   (defvaralias NEW-ALIAS BASE-VARIABLE &optional DOCSTRING)
>
> Sorry I didn't test that before I committed it.
>
>> Thanks for spotting this, I am checking in a fix soon.

I just deleted the doc string.  A more elaborate possibility would
have been

(condition-case nil
    (defvaralias '... '... "...")
  (wrong-number-of-arguments
    (defvaralias '... '...)))

but I was not in the mood to do something as complicated as that.
Feel free to override my choice, if you feel offended.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


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

Reply via email to