all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs 23.2 broke (defadvice completing-read ...)
@ 2010-05-25 22:12 dnquark
  0 siblings, 0 replies; only message in thread
From: dnquark @ 2010-05-25 22:12 UTC (permalink / raw)
  To: help-gnu-emacs

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))))


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-05-25 22:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-25 22:12 emacs 23.2 broke (defadvice completing-read ...) dnquark

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.