mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-06 09:31:39 -05:00
Cosmetic change in ein:connect-to-notebook-buffer
This commit is contained in:
parent
0ed3f93e78
commit
3ab25e6fe8
1 changed files with 2 additions and 5 deletions
|
@ -146,11 +146,8 @@ notebooks."
|
|||
|
||||
(defun ein:connect-to-notebook-buffer (buffer-or-name)
|
||||
"Connect any buffer to opened notebook and its kernel."
|
||||
(interactive
|
||||
(list
|
||||
(completing-read
|
||||
"Notebook buffer to connect: "
|
||||
(ein:notebook-opened-buffer-names))))
|
||||
(interactive (list (completing-read "Notebook buffer to connect: "
|
||||
(ein:notebook-opened-buffer-names))))
|
||||
(let ((notebook
|
||||
(buffer-local-value 'ein:notebook (get-buffer buffer-or-name))))
|
||||
(ein:connect-buffer-to-notebook notebook)))
|
||||
|
|
Loading…
Add table
Reference in a new issue