emacs-devel
[Top][All Lists]
Advanced

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

Re: font-locking and open parens in column zero


From: Stefan Monnier
Subject: Re: font-locking and open parens in column zero
Date: Sun, 24 Sep 2006 20:46:28 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>> I made a M-/ error before.  Please try this version of the patch.

> It doesn't work for me provided I use something like

>   (put font-lock-beginning-of-syntax-function
>        'font-lock-syntax-paren-check t)

You mean (put 'c-beginning-of-defun 'font-lock-syntax-paren-check t)?

> !                 (or 'font-lock-beginning-of-syntax-function
> !                     'syntax-begin-function)))

Huh?  This is equal to just 'font-lock-beginning-of-syntax-function.

> !            (or (eq (eval beg-function) 'beginning-of-defun)

I have no idea what this `eval' is about.  `beg-function' contains
a function, i.e. a symbol (whose value when interpreted as a variable should
not have any significance) or a lambda expression, so evaluating should be at
best useless.


        Stefan




reply via email to

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