unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).