Subject: bug#22091: [PATCH 1/2] * lisp/env.el: Add (whereis-command)

From: Glenn Morris <[email-masked]>
Date: Fri, 04 Dec 2015 03:03:06 -0500

lu4nx wrote:

> +(defun whereis-command (command)
> +  (let ((paths (split-string (getenv "PATH") ":")))
> +    (remove-if-not
> +     (lambda (path)
> +       (file-exists-p (format "%s/%s" path command)))
> +     paths)))

You use a CL function without requiring CL.
But 'executable-find' already exists anyway, so this isn't needed.

Also, you sent 4 or 5 identical copies of each of your mails in rapid
succession (filtered out by list moderation). Please fix your mailer.