Variable: comment-use-global-state
comment-use-global-state is a variable defined in newcomment.el.gz.
This variable is obsolete since 24.4; use comment-use-syntax
instead.
Value
t
Documentation
Non-nil means that the global syntactic context is used.
More specifically, it means that syntax-ppss is used to find out whether
point is within a string or not. Major modes whose syntax is not faithfully
described by the syntax-tables (or where font-lock-syntax-table is radically
different from the main syntax table) can set this to nil,
then syntax-ppss cache won't be used in comment-related routines.
Probably introduced at or before Emacs version 24.4.
Source Code
;; Defined in /usr/src/emacs/lisp/newcomment.el.gz
;;;;
;;;; Navigation
;;;;
(defvar comment-use-global-state t
"Non-nil means that the global syntactic context is used.
More specifically, it means that `syntax-ppss' is used to find out whether
point is within a string or not. Major modes whose syntax is not faithfully
described by the syntax-tables (or where `font-lock-syntax-table' is radically
different from the main syntax table) can set this to nil,
then `syntax-ppss' cache won't be used in comment-related routines.")