mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-06 09:31:39 -05:00
Fix: point moves after completion
This commit is contained in:
parent
821ef3009d
commit
4a1261fc5e
1 changed files with 2 additions and 1 deletions
|
@ -332,7 +332,8 @@ A specific node can be specified using optional ARGS."
|
|||
|
||||
(defun ein:cell-finish-completing (cell matched-text matches)
|
||||
(let* ((end (point))
|
||||
(beg (re-search-backward (concat matched-text "\\=")))
|
||||
(beg (save-excursion
|
||||
(re-search-backward (concat matched-text "\\="))))
|
||||
(word (if (and beg matches)
|
||||
(completing-read "Complete: " matches))))
|
||||
(when word
|
||||
|
|
Loading…
Add table
Reference in a new issue