|
From: | Glenn Morris |
Subject: | bug#22091: [PATCH 1/2] * lisp/env.el: Add (whereis-command) |
Date: | Fri, 04 Dec 2015 03:03:06 -0500 |
User-agent: | Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |