diff options
author | Noam Postavsky <npostavs@gmail.com> | 2018-03-01 21:52:27 -0500 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2018-03-01 22:07:21 -0500 |
commit | 4a0934192176fb8e372170f5f028edcf0f8cbdc3 (patch) | |
tree | b9a732517c466f3a8ccdf928e32aa126524735f2 /lisp/emacs-lisp | |
parent | 703fdeec8c3039a42d16dba46fcea2c1a4428b75 (diff) | |
download | emacs-4a0934192176fb8e372170f5f028edcf0f8cbdc3.tar.gz emacs-4a0934192176fb8e372170f5f028edcf0f8cbdc3.tar.bz2 emacs-4a0934192176fb8e372170f5f028edcf0f8cbdc3.zip |
Fix issues turned up by previous python.el change
See [1] for more discussion.
* lisp/progmodes/python.el (python--prettify-symbols-alist): Define
the obsolete alias before the variable proper, so that we correctly
get the user's settings regardless of which name they set.
(python-nav-end-of-statement): Add missing backslash.
(python-shell-send-file): Call `expand-file-name' before
`file-local-name', the expansion of "~" could be different on remote
filenames.
(python-mode): Declare prettify-symbols-alist instead of checking if
it's bound. Use the non-obsolete python-prettify-symbols-alist name,
rather than checking if the obsolete name is bound (it always is too,
but the Emacs 24 byte compiler doesn't recognize that
define-obsolete-variable-alias defines a variable).
[1]: https://lists.gnu.org/archive/html/emacs-devel/2018-02/msg00826.html
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions