Fix python-shell-send-defun at start of buffer (Bug#30822)
commit5fb34352f6050ba225d14f2a51a6b99739826b1b
authornitishch <nitishchandrachinta@gmail.com>
Sat, 7 Apr 2018 03:15:03 +0000 (7 08:45 +0530)
committerNoam Postavsky <npostavs@gmail.com>
Sun, 8 Apr 2018 16:36:00 +0000 (8 12:36 -0400)
tree8d101e612c51ebdb6ebe98822934851f1b4962dc
parent8df23a82042fa7dbaaa4377bc376d705595b073f
Fix python-shell-send-defun at start of buffer (Bug#30822)

* lisp/progmodes/python.el (python-shell-send-defun): Handle the case
when we hit the beginning of buffer.

Copyright-paperwork-exempt: yes
lisp/progmodes/python.el