Subject: bug#19665:

From: Carlos Pita <[email-masked]>
Date: Mon, 2 Feb 2015 16:33:32 -0300

Patch updated against current master (954ca0f017f62f52ee679f2aa68effb20c917278).
From 2f1cfe4b410d5d61a2230dbd5002a0824c908285 Mon Sep 17 00:00:00 2001
From: memeplex <[email-masked]>
Date: Fri, 23 Jan 2015 18:01:32 -0300
Subject: [PATCH] python.el: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19665

---
 .emacs.d/lisp/python.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.emacs.d/lisp/python.el b/.emacs.d/lisp/python.el
index 30b62f5..500ced8 100644
--- a/.emacs.d/lisp/python.el
+++ b/.emacs.d/lisp/python.el
@@ -1285,7 +1285,7 @@ With positive ARG search backwards, else search forwards."
                      0))))
          (found
           (progn
-            (when (and (< arg 0)
+            (when (and (> arg 0)
                        (python-info-looking-at-beginning-of-defun))
               (end-of-line 1))
             (while (and (funcall re-search-fn
-- 
2.2.1