help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: defining c-mode-syntax-table


From: Tim Johnson
Subject: Re: defining c-mode-syntax-table
Date: Thu, 17 Feb 2022 14:26:39 -0900
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0



On 2/17/22 9:35 AM, Stefan Monnier via Users list for the GNU Emacs text editor wrote:
(modify-syntax-entry ?_ "w" c-mode-syntax-table)
FWIW, I think you want (superword-mode 1) instead.


         Stefan
Thank you for the reply, Stefan. Turns out that what I really needed (presumably) is

(require 'cc-mode)

cheers

--
Tim
tj49.com




reply via email to

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