[Top][All Lists]

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

c-mode and underscore

From: geophile
Subject: c-mode and underscore
Date: Tue, 7 Jul 2009 15:56:29 -0700 (PDT)
User-agent: G2/1.0

I am trying to get c-mode to treat underscore as a word, so that
forward-word backward-word don't stop on underscores.

My .emacs file includes:

    (modify-syntax-entry ?_ "w" c-mode-syntax-table)

which does not appear to be effective. But if I run this command
manually, it is effective.

I'm pretty sure that the line above is being reached in my .emacs
file, as later commands are effective.

Any idea what I'm doing wrong?

Jack Orenstein

reply via email to

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