Use the default jupyter-code-context' for jupyter-repl-mode` buffers

Previously an invisible character would be added in the
buffer to prevent the margin from inheriting any text
properties but this is unneeded since the default margin
does not contain any text that can inherit the properties.
This commit is contained in:
Nathaniel Nicandro 2018-10-10 14:07:34 -05:00
parent c51d3b3a6c
commit 4f53240e24

View file

@ -1741,11 +1741,6 @@ Works for Julia and Python."
;;; Getting the completion context
(cl-defmethod jupyter-code-context ((_type (eql inspect))
&context (major-mode jupyter-repl-mode))
(jupyter-line-context (next-single-property-change
(line-beginning-position) 'invisible)))
(cl-defmethod jupyter-code-context ((_type (eql completion))
&context (major-mode jupyter-repl-mode))
(list (jupyter-repl-cell-code)