ErgoEmacsEmacsLispBlogEmacsLispBuy Tutorial

35.7 Some Standard Syntax Tables

Most of the major modes in Emacs have their own syntax tables. Here are several of them:

— Function: standard-syntax-table

This function returns the standard syntax table, which is the syntax table used in Fundamental mode.

— Variable: text-mode-syntax-table

The value of this variable is the syntax table used in Text mode.

— Variable: c-mode-syntax-table

The value of this variable is the syntax table for C-mode buffers.

— Variable: emacs-lisp-mode-syntax-table

The value of this variable is the syntax table used in Emacs Lisp mode by editing commands. (It has no effect on the Lisp read function.)

blog comments powered by Disqus