all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Substring matching for info index command
@ 2014-12-07 12:15 Tom
  2014-12-07 14:06 ` Drew Adams
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Tom @ 2014-12-07 12:15 UTC (permalink / raw)
  To: help-gnu-emacs

I've never used the builtin completion-styles, because I 
use other completion packages, but I thought I give it a try
and try substring matching for the info index command.

I added this advice to the command which wraps it in a
let and sets completion-styles to substring:

(defadvice Info-index (around my-Info-index activate)
  (let ((completion-styles '(substring)))
    ad-do-it))


However, it has no effect, it still uses the prefix
completion style. Why is that?





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-12-07 16:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-07 12:15 Substring matching for info index command Tom
2014-12-07 14:06 ` Drew Adams
2014-12-07 14:16   ` Tom
2014-12-07 14:56     ` Drew Adams
2014-12-07 15:56 ` Eli Zaretskii
2014-12-07 16:02 ` Stefan Monnier

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.