Fix python.el for Emacs 24, bump ELPA version to 0.26.1 (Bug#30633)
commit2291d9ae888961ce7e4f22675244f535db54df56
authorNoam Postavsky <npostavs@gmail.com>
Wed, 28 Feb 2018 00:44:35 +0000 (27 19:44 -0500)
committerNoam Postavsky <npostavs@gmail.com>
Wed, 28 Feb 2018 01:21:26 +0000 (27 20:21 -0500)
tree8d2660283f74010496aa929201db41830c33d9ef
parent4494c4cb63808df8f962e90e5d1ac4cf0d5d2f83
Fix python.el for Emacs 24, bump ELPA version to 0.26.1 (Bug#30633)

Since python.el is distributed via GNU ELPA, it should be functional
in earlier Emacs versions.  Also fix some compile warnings.
* lisp/progmodes/python.el: Bump version to 0.26.1.  Define
`prog-first-column' and `file-local-name' also at compile time, as
needed.
(inferior-python-mode-hook): Declare for the benefit of Emacs 24.3.
(python-nav-end-of-statement): Fix format string for assertion error.
(python-shell-tramp-refresh-process-environment): Don't `function'
quote a symbol which might not be fbound.
(python-mode): Only use prettify-symbols settings if they're bound.
lisp/progmodes/python.el