[Top][All Lists]

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

What magic is saying "obsolete variable"

From: Lennart Borgman
Subject: What magic is saying "obsolete variable"
Date: Fri, 17 Dec 2010 19:21:36 +0100

I am trying to understand how to get rid of the "obsolete variable"
warnings (and taking care of them, of course), but there is some magic
going on that I do not understand

When stepping through this in edebug

      (mumamo-save-buffer-state nil
        (remove-list-of-text-properties (point-min) (point-max)
                                        (list 'fontified)))

I get the warning below after passing the next last `)':

  Warning: `font-lock-beginning-of-syntax-function' is an obsolete variable (as
    of Emacs 23.3); use `syntax-begin-function' instead.

The macro `mumamo-save-buffer-state' is just a copy of
save-buffer-state in font-lock.el (which is not exposed by

Can anyone please explain why I get the warning here and maybe what I
can do about it?

reply via email to

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