Fix tooltip help when it is not found

ein:kernel-construct-help-string returned empty string when help
is not found in the previous version.
This commit is contained in:
Takafumi Arakaki 2012-07-25 21:54:56 +02:00
parent 3a968a9b18
commit 5af748430b

View file

@ -517,8 +517,9 @@ Used in `ein:cell-finish-tooltip', etc."
;; "<empty docstring>"
)
(ansi-color-apply it)))
(help (ein:join-str
"\n" (ein:filter 'identity (list defstring docstring)))))
(help (ein:aand
(ein:filter 'identity (list defstring docstring))
(ein:join-str "\n" it))))
(ein:log 'debug "KERNEL-CONSTRUCT-HELP-STRING: help=%s" help)
help))