瀏覽代碼

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 年之前
父節點
當前提交
9b22f597a0
共有 1 個文件被更改,包括 0 次插入1 次删除
  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)