[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Add prettify symbols to python-mode
From: |
Mark Oteiza |
Subject: |
Re: [PATCH] Add prettify symbols to python-mode |
Date: |
Sun, 20 Sep 2015 20:53:06 -0400 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
On 21/09/15 at 06:48am, Xue Fuqiao wrote:
> On Mon, Sep 21, 2015 at 3:28 AM, Mark Oteiza <address@hidden> wrote:
>
> > +(defconst python-prettify-symbols-alist
>
> IMHO 'python--prettify-symbols-alist' is a better name, see (info
> "(elisp) Coding Conventions").
Thanks, I'll do that.
> > + (set (make-local-variable 'prettify-symbols-alist)
> > + python-prettify-symbols-alist)
> > +
>
> You can use
>
> (setq-local prettify-symbols-alist python--prettify-symbols-alist)
>
> here.
Looking at the python.el log, it looks like the maintainer is keeping
compatibility with 24.x, and setq-local was not added until 24.3.
- [PATCH] Add prettify symbols to python-mode, Mark Oteiza, 2015/09/20
- Re: [PATCH] Add prettify symbols to python-mode, Xue Fuqiao, 2015/09/20
- Re: [PATCH] Add prettify symbols to python-mode,
Mark Oteiza <=
- Re: [PATCH] Add prettify symbols to python-mode, Stefan Monnier, 2015/09/20
- Re: [PATCH] Add prettify symbols to python-mode, Richard Stallman, 2015/09/22
- Re: [PATCH] Add prettify symbols to python-mode, Stefan Monnier, 2015/09/22
- Re: [PATCH] Add prettify symbols to python-mode, Rasmus, 2015/09/22
- Re: [PATCH] Add prettify symbols to python-mode, Richard Stallman, 2015/09/22
- Re: [PATCH] Add prettify symbols to python-mode, Achim Gratz, 2015/09/23
- Re: [PATCH] Add prettify symbols to python-mode, Eli Zaretskii, 2015/09/23
- Re: [PATCH] Add prettify symbols to python-mode, David Kastrup, 2015/09/23
- Re: [PATCH] Add prettify symbols to python-mode, Xue Fuqiao, 2015/09/23
- Re: [PATCH] Add prettify symbols to python-mode, Eli Zaretskii, 2015/09/23