>>>>> "Stephen" == Stephen Leake <[EMAIL PROTECTED]> writes:

Stephen> In xmtn-dvc.el, xmtn-dvc-ignore-file-extensions uses this syntax:
Stephen> (mapcar #'file-name-extension file-names)
Stephen> Other places doing the same thing use this syntax:
Stephen> (mapcar 'file-name-extension file-names)

Stephen> Is this just a style issue, or have I missed something?

AIUI:

For a symbol, it is just a style thing; but (function (lambda ...))
tells the byte compiler that it can compile the anonymous function as
well.

Tom


_______________________________________________
Dvc-dev mailing list
[email protected]
https://mail.gna.org/listinfo/dvc-dev

Reply via email to