mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-06 01:21:38 -05:00
Merge pull request #123 from sam-s/master
fix issue 122: do not assume we are always connected to a server
This commit is contained in:
commit
eff24be9fb
1 changed files with 3 additions and 1 deletions
|
@ -252,7 +252,9 @@ insert-prev insert-next move-prev move-next)"
|
|||
'help-echo "Click (mouse-1) to insert a new tab."
|
||||
'mouse-face 'highlight
|
||||
'face 'ein:notification-tab-normal)
|
||||
(propertize (format "|%s|" (ein:$kernelspec-name (ein:$notebook-kernelspec ein:%notebook%)))
|
||||
(propertize (ein:aif (ein:$notebook-kernelspec ein:%notebook%)
|
||||
(format "|%s|" (ein:$kernelspec-name it))
|
||||
"|not connected|")
|
||||
'keymap ein:header-line-switch-kernel-map
|
||||
'help-echo "Click (mouse-1) to change the running kernel."
|
||||
'mouse-face 'highlight
|
||||
|
|
Loading…
Add table
Reference in a new issue