help-gnu-emacs
[Top][All Lists]
Advanced

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

emacs 23.2 broke (defadvice completing-read ...)


From: dnquark
Subject: emacs 23.2 broke (defadvice completing-read ...)
Date: Wed, 08 Dec 2010 15:10:00 -0000
User-agent: G2/1.0

I've been using a handy piece of code from emacswiki that used ido to
complete things like functions or variables when you press C-h f or C-
h v.  Unfortunately, it stopped working under Emacs 23.2.  Can anyone
point me to a fix or a workaround?...

;; works under 23.1, broken under 23.2
(defadvice completing-read
       (around foo activate)
       (if (boundp 'ido-cur-list)
           ad-do-it
         (setq ad-return-value
               (ido-completing-read
                prompt
                (all-completions "" collection predicate)
                nil require-match initial-input hist def))))


reply via email to

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