Re: [Patch] apps-menu filtering



I almost wee'd! I'm seriously going to check it out!

Chris

Am Sat, 11 Sep 2010 08:56:31 -0600
schrieb Matthew Love <matth love gmail com>:

> Jeremy Hankins <nowan nowan org> writes:
> >
> > However, this leads to duplicate entries, since emacs shows up in
> > multiple categories and they all get switched to "util".
> >
> > (defun myfilter (ent)
> >   (let ((ent (fdo-default-filter ent)))
> >     (when ent
> >       (let ((cat (cdr (assoc "Category" ent))))
> >         (cond ((string-match "emacs" (cdr (assoc "Name" ent)) nil t)
> >                (rplacd (assoc "Category" ent) "util")))
> >         ent))))
> 
> Ah, yes, thanks for noticing that.  Here is a patch (to current git),
> that includes the removal of the duplicate entries from the generated 
> menu list.  This is an update to the most recently sent patch, so this 
> one is the most current.
> 
> Thanks!
> 



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