• NicolasPetton's avatar
    Add an optional testfn parameter to assoc · 0bece6c6
    NicolasPetton authored
    * src/fns.c (assoc): New optional testfn parameter used for comparison
    when provided.
    * test/src/fns-tests.el (test-assoc-testfn): Add tests for the new
    'testfn' parameter.
    * src/buffer.c:
    * src/coding.c:
    * src/dbusbind.c:
    * src/font.c:
    * src/fontset.c:
    * src/gfilenotify.c:
    * src/image.c:
    * src/keymap.c:
    * src/process.c:
    * src/w32fns.c:
    * src/w32font.c:
    * src/w32notify.c:
    * src/w32term.c:
    * src/xdisp.c:
    * src/xfont.c: Add a third argument to Fassoc calls.
    * etc/NEWS:
    * doc/lispref/lists.texi: Document the new 'testfn' parameter.
    0bece6c6
buffer.c 201 KB