all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* defining c-mode-syntax-table
@ 2022-02-17 16:38 Tim Johnson
  2022-02-17 18:35 ` Stefan Monnier via Users list for the GNU Emacs text editor
  0 siblings, 1 reply; 3+ messages in thread
From: Tim Johnson @ 2022-02-17 16:38 UTC (permalink / raw)
  To: MLEmacs

I have added the following line to init.el :
(modify-syntax-entry ?_ "w" c-mode-syntax-table)

When emacs loads, I get a warning that c-mode-syntax-table is not 
recognized,
but when I evaluate that sexp "by hand" it does evaluate without problem.

Could it be that there is a contingent dependency that is evaluated 
*after* the
  (modify-syntax-entry ?_ w c-mode-syntax-table) that defines 
modify-syntax-entry?

I would like to know so that I can move that code so that it follows 
said evaluation.

thanks

-- 
Tim
tj49.com




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-02-17 23:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-17 16:38 defining c-mode-syntax-table Tim Johnson
2022-02-17 18:35 ` Stefan Monnier via Users list for the GNU Emacs text editor
2022-02-17 23:26   ` Tim Johnson

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.