Don't read eshell/which output from *Help* buffer (Bug#26894)
commit2d992690de5bcb2036eeb4d2854761596b863704
authorNoam Postavsky <npostavs@gmail.com>
Sun, 4 Jun 2017 02:15:19 +0000 (3 22:15 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Wed, 28 Jun 2017 00:34:14 +0000 (27 20:34 -0400)
tree8a200ae5194707445c0da6f9efc46b39aa04465f
parent4a5653cd2859308ada4bbf5ffc9fb9b283eef31a
Don't read eshell/which output from *Help* buffer (Bug#26894)

* lisp/help-fns.el (help-fns--analyse-function)
(help-fns-function-description-header): New functions, extracted from
describe-function-1.
(describe-function-1): Use them.
* lisp/eshell/esh-cmd.el (eshell/which): Use
`help-fns-function-description-header' instead of
`describe-function-1'.
lisp/eshell/esh-cmd.el
lisp/help-fns.el