Browse Source

ob-python: Remove unused variable

* lisp/ob-python.el (org-babel-python-evaluate-session): Remove unused
lexical variable `last-indent' that was causing a compilation warning
Jack Kamm 5 năm trước cách đây
mục cha
commit
9b22f597a0
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      lisp/ob-python.el

+ 0 - 1
lisp/ob-python.el

@@ -313,7 +313,6 @@ If RESULT-TYPE equals `output' then return standard output as a
 string.  If RESULT-TYPE equals `value' then return the value of the
 last statement in BODY, as elisp."
   (let* ((send-wait (lambda () (comint-send-input nil t) (sleep-for 0 5)))
-	 (last-indent 0)
 	 (input-body (lambda (body)
 		       (dolist (line (split-string body "[\r\n]"))
 			 (insert line)