emacs-devel
[Top][All Lists]
Advanced

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

Re: about ido-completing-read and completing-read


From: Juanma Barranquero
Subject: Re: about ido-completing-read and completing-read
Date: Thu, 31 May 2007 12:01:03 +0200

On 5/31/07, William Xu <address@hidden> wrote:

I find myself is keeping modifying their source codes
to replace completing-read with ido-completing-read..

You could try this:

(defvar *completing-read-recursive* nil)

(defadvice completing-read (around my-completing-read activate compile)
  (if *completing-read-recursive*
      ad-do-it
    (let ((*completing-read-recursive* t))
      (ido-completing-read prompt collection predicate require-match
initial-input hist def))))

to see whether it helps.

            Juanma




reply via email to

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