update for new emacs version
Stefan Bund [Tue, 7 Mar 2017 12:24:38 +0000 (13:24 +0100)]
python/init_python.el

index e66e6a1..9067c16 100644 (file)
@@ -40,7 +40,7 @@
 (defun my-flymake-error-at-point ()
   (condition-case  nil
       (flymake-ler-text (car (nth 0 (flymake-find-err-info flymake-err-info
-                                                           (flymake-current-line-no)))))
+                                                           (locate-current-line-number)))))
     (error (error "no flymake error at point"))))
 
 (defun my-flymake-show-error ()