mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-05 17:11:41 -05:00
Fixing misnamed variable.
This commit is contained in:
parent
c1ce100f31
commit
9774ab910f
1 changed files with 1 additions and 1 deletions
|
@ -741,7 +741,7 @@ NAME is any non-empty string that does not contain '/' or '\\'."
|
|||
(interactive
|
||||
(list (read-string "Rename notebook: " (ein:$notebook-notebook-path ein:%notebook%))))
|
||||
(unless (and (string-match ".ipynb" path) (= (match-end 0) (length path)))
|
||||
(setq name (format "%s.ipynb" path)))
|
||||
(setq path (format "%s.ipynb" path)))
|
||||
(let ((content (ein:content-from-notebook ein:%notebook%))
|
||||
(old-name (ein:$notebook-notebook-name ein:%notebook%)))
|
||||
(ein:log 'info "Renaming notebook at URL %s" (ein:notebook-url ein:%notebook%))
|
||||
|
|
Loading…
Add table
Reference in a new issue