Sandro Tosi <mo...@debian.org> writes:

> I dont know that much about emacs config, so I would greatly
> appreciate if you could suggest how to do it ;)

That's a fair request; thanks for enabling the Emacs support anyway!
The below patch works for me, though I ran into an unrelated error when
trying to test it: on my system, py3versions -s reports

python3.4 python3.5

breaking the override_dh_install target.  Did you mean to run
py3versions -d instead?  FTR, pyversions -s can technically also list
multiple names, but hasn't since Debian dropped support for python2.6 a
couple of years ago.

--- pylint.emacsen-startup      (revision 12505)
+++ pylint.emacsen-startup      (working copy)
@@ -19,5 +19,8 @@
 
 ;; Some autoloads
 (autoload 'pylint "pylint")
+(autoload 'pylint-add-menu-items "pylint")
+(autoload 'pylint-add-key-bindings "pylint")
+
 (add-hook 'python-mode-hook 'pylint-add-menu-items)
 (add-hook 'python-mode-hook 'pylint-add-key-bindings)

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?a...@monk.mit.edu

Reply via email to