npostavs@users.sourceforge.net writes: > Dmitry Alexandrov <321942@gmail.com> writes: > >> ‘eshell/which’ in its part, that locates built-in commands (‘$ which >> which’ for example) and elisp functions in general, looks like a dirty >> hack [0]: it calls interactive ‘describe-function’ command and parses >> *Help* buffer. > > Yeah, that's not great. Here's a patch. Sorry, I sent a broken version, here's the right one.