Re: [PATCH v16 05/14] ref-filter: introduce match_atom_name()

2015-09-07 Thread Karthik Nayak
On Mon, Sep 7, 2015 at 1:22 AM, Eric Sunshine wrote: > On Sat, Sep 5, 2015 at 2:52 PM, Karthik Nayak wrote: >> Introduce match_atom_name() which helps in checking if a particular >> atom is the atom we're looking for and if it has a value attached

Re: [PATCH v16 05/14] ref-filter: introduce match_atom_name()

2015-09-06 Thread Eric Sunshine
On Sat, Sep 5, 2015 at 2:52 PM, Karthik Nayak wrote: > Introduce match_atom_name() which helps in checking if a particular > atom is the atom we're looking for and if it has a value attached to > it or not. > > Use it instead of starts_with() for checking the value of

[PATCH v16 05/14] ref-filter: introduce match_atom_name()

2015-09-05 Thread Karthik Nayak
Introduce match_atom_name() which helps in checking if a particular atom is the atom we're looking for and if it has a value attached to it or not. Use it instead of starts_with() for checking the value of %(color:...) atom. Write a test for the same. Mentored-by: Christian Couder