Variable: erc--inside-mode-toggle-p
erc--inside-mode-toggle-p is a variable defined in erc-common.el.gz.
Value
nil
Documentation
Non-nil when a module's mode toggle is updating module membership.
This serves as a flag to inhibit the mutual recursion that would
otherwise occur between an ERC-defined minor-mode function, such
as erc-services-mode(var)/erc-services-mode(fun), and the custom-set function for
erc-modules. For historical reasons, the latter calls
erc-update-modules, which, in turn, enables the minor-mode
functions for all member modules. Also non-nil when a mode's
widget runs its set function.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc-common.el.gz
(defvar erc--inside-mode-toggle-p nil
"Non-nil when a module's mode toggle is updating module membership.
This serves as a flag to inhibit the mutual recursion that would
otherwise occur between an ERC-defined minor-mode function, such
as `erc-services-mode', and the custom-set function for
`erc-modules'. For historical reasons, the latter calls
`erc-update-modules', which, in turn, enables the minor-mode
functions for all member modules. Also non-nil when a mode's
widget runs its set function.")