Handle pager opening

Before, this fork has a small regression: Typing 'thing?' into the shell does not open the pager. This small change fixes this small regression.
This commit is contained in:
gcr 2014-05-23 15:21:16 -04:00
parent 3b0498655c
commit 9c90f25e5a

View file

@ -585,7 +585,8 @@ Example::
for text = (plist-get p :text)
for source = (plist-get p :source)
if (member source '("IPython.kernel.zmq.page.page"
"IPython.zmq.page.page"))
"IPython.zmq.page.page"
"page"))
do (when (not (equal (ein:trim text) ""))
(ein:events-trigger
events 'open_with_text.Pager (list :text text)))