emacs-devel
[Top][All Lists]
Advanced

[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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]