     (ignore-errors (kill-buffer live-py-output-buffer))
     (when (window-valid-p live-py-output-window)
       (delete-window live-py-output-window))
-    (toggle-truncate-lines 0)
-    )
-   )
-  )
+    (toggle-truncate-lines 0))))
 
 (provide 'live-py-mode)
 

    (set (make-local-variable 'live-py-dir) (file-name-directory buffer-file-name))
    (set (make-local-variable 'live-py-path) nil)
    (set (make-local-variable 'live-py-version) "python")
    (add-hook 'after-change-functions 'live-py-after-change-function nil t)
    (live-py-show-output-window)
    (live-py-after-change-function 0 0 0)
    (add-hook 'post-command-hook 'live-py-check-to-scroll nil t)
    )
   ;; Turning the mode OFF.
   (t
    (remove-hook 'after-change-functions 'live-py-after-change-function t)

(defvar live-py-dir)
(defvar live-py-path)
(defvar live-py-version)
(defvar live-py-window-start-pos)
(defvar live-py-point-line-nr)

(defun live-py-after-change-function (start stop len)
  "Run the buffer through the code tracer and show results in the trace buffer."
  (when live-py-timer (cancel-timer live-py-timer))
  (set 'live-py-timer (run-at-time 0.5 nil 'live-py-trace)))

(defun live-py-trace ()
  "Trace the Python code using code_tracer.py."
