Ecaml.Minor_modeSourceA minor mode provides optional features that users may enable or disable independently of the choice of major mode. Minor modes can be enabled individually or in combination.
(Info-goto-node "(elisp)Minor Modes")
(describe-variable 'goto-address-mode) (describe-function 'goto-address-mode)
(describe-variable 'visual-line-mode) (describe-function 'visual-line-mode)
(describe-variable 'url-handler-mode) (describe-function 'url-handler-mode)
Find the keymap that is active when the given minor mode is enabled, if such a keymap exists.
(describe-variable 'minor-mode-map-alist)
val define_minor_mode :
Symbol.t ->
Core.Source_code_position.t ->
docstring:string ->
?define_keys:(string * Symbol.t) list ->
?mode_line:string ->
global:bool ->
?initialize:(t -> unit) ->
unit ->
t(describe-function 'define-minor-mode) (Info-goto-node "(elisp)Defining Minor Modes")
Additionally, each key_sequence, symbol in define_keys is added to the new minor mode's keymap.