all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim Johnson <tim@akwebsoft.com>
To: MLEmacs <Help-gnu-emacs@gnu.org>
Subject: defining c-mode-syntax-table
Date: Thu, 17 Feb 2022 07:38:23 -0900	[thread overview]
Message-ID: <0f9a4ee8-52a2-4a04-51f0-34da5d216592@akwebsoft.com> (raw)

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




             reply	other threads:[~2022-02-17 16:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-17 16:38 Tim Johnson [this message]
2022-02-17 18:35 ` defining c-mode-syntax-table Stefan Monnier via Users list for the GNU Emacs text editor
2022-02-17 23:26   ` Tim Johnson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0f9a4ee8-52a2-4a04-51f0-34da5d216592@akwebsoft.com \
    --to=tim@akwebsoft.com \
    --cc=Help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.