emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: font-lock-maximum-decoration should be 2 by default?


From: Eli Zaretskii
Subject: Re: font-lock-maximum-decoration should be 2 by default?
Date: Sun, 19 Aug 2012 19:48:08 +0300

> From: Andreas Schwab <address@hidden>
> Cc: Eli Zaretskii <address@hidden>,  address@hidden,  Drew Adams 
> <address@hidden>,  address@hidden
> Date: Sun, 19 Aug 2012 12:34:48 +0200
> 
> > *** lisp/font-lock.el       1997-02-21 09:36:18 +0000
> > --- lisp/font-lock.el       1997-03-15 13:19:12 +0000
> > ***************
> > *** 190,196 ****
> >   If a number, only buffers greater than this size have fontification 
> > messages.")
> >   
> >   ;;;###autoload
> > ! (defvar font-lock-maximum-decoration nil
> >     "*Maximum decoration level for fontification.
> >   If nil, use the default decoration (typically the minimum available).
> >   If t, use the maximum decoration available.
> > --- 190,196 ----
> >   If a number, only buffers greater than this size have fontification 
> > messages.")
> >   
> >   ;;;###autoload
> > ! (defvar font-lock-maximum-decoration t
> >     "*Maximum decoration level for fontification.
> >   If nil, use the default decoration (typically the minimum available).
> >   If t, use the maximum decoration available.
> > ***************
> 
> That looks rather like an accident.

Not an accident:

  1997-03-15  Simon Marshall  <address@hidden>

          * font-lock.el (font-lock-keyword-depth): New function.
          Use it wherever extra types are used to calculate parenthesis depth.
          (c-font-lock-extra-types, c++-font-lock-extra-types)
          (objc-font-lock-extra-types, java-font-lock-extra-types)
          (font-lock-keywords): Doc fix.
          (font-lock-defaults, font-lock-defaults-alist): Doc switch.
          (font-lock-maximum-decoration): Default to t.
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^



reply via email to

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