David Kastrup <[EMAIL PROTECTED]> writes:

> That's not unheard of.  Not uncommonly, we have something like
>
> (if (fboundp 'completing-read-multiple)
>   (defalias 'TeX-completing-read-multiple 'completing-read-multiple)
>   (defun TeX-completing-read-multiple [the definition stolen straight from 
> Emacs] ...
> )

The definition from Emacs would be all of crm.el.

Would it be safe to 

  1. Copy crm.el from Emacs into tex-crm.el in AUCTeX
  2. Remove autoload cookies from tex-crm.el
  3. Do

     (load "crm" t t)
     (unless (featurep 'crm)
       (require 'tex-crm.el))
  4. Then just use `completing-read-multiple'

It is a lot simpler than renaming all symbols in crm.el (especially if
we have to follow updates in crm.el).

Kind regards,

     /arne
-- 
Arne Jørgensen <http://arnested.dk/>



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

Reply via email to