[Top][All Lists]

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

How to indent on LOCK(); macro???

From: Roy Smith
Subject: How to indent on LOCK(); macro???
Date: 30 Aug 2005 16:51:20 -0400

I'm working on a project which uses a LOCK/END_LOCK macro pair for
mutex locking in C++ source files.  A typical section of code would
look like:

    LOCK (myDataLock)
        myData = foo;

How can I convince the indenting engine to treat the LOCK and END_LOCK
lines as beginning and ending blocks?

I'm running GNU Emacs 21.3.1.

reply via email to

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