Function: conf-npmrc-mode
conf-npmrc-mode is an autoloaded, interactive and byte-compiled
function defined in conf-mode.el.gz.
Signature
(conf-npmrc-mode)
Documentation
Major mode derived from conf-mode by define-derived-mode.
It inherits all of the parent's attributes, but has its own keymap, abbrev table and syntax table:
conf-npmrc-mode-map, conf-npmrc-mode-abbrev-table and
conf-npmrc-mode-syntax-table
which more-or-less shadow conf-mode's corresponding tables.
In addition to any hooks its parent mode might have run, this mode runs
the hook conf-npmrc-mode-hook, as the final or penultimate step during
initialization.
Probably introduced at or before Emacs version 31.1.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/conf-mode.el.gz
;;;###autoload
(define-derived-mode conf-npmrc-mode conf-mode "Conf[npmrc]"
:syntax-table conf-npmrc-mode-syntax-table
"Conf Mode starter for .npmrc files.
Comments start with `#' and `;'. For details see `conf-mode'."
(conf-mode-initialize "#"))