Function: global-linum-mode

global-linum-mode is an interactive and byte-compiled function defined in linum.el.gz.

This command is obsolete since 29.1; use global-display-line-numbers-mode(var)/global-display-line-numbers-mode(fun) instead.

Signature

(global-linum-mode &optional ARG)

Documentation

Toggle Linum mode in all buffers.

With prefix ARG, enable Global Linum mode if ARG is positive; otherwise, disable it.

If called from Lisp, toggle the mode if ARG is toggle. Enable the mode if ARG is nil, omitted, or is a positive number. Disable the mode if ARG is a negative number.

Linum mode is enabled in all buffers where linum-on would do it.

See linum-mode(var)/linum-mode(fun) for more information on Linum mode.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/linum.el.gz
;;;###autoload
(define-globalized-minor-mode global-linum-mode linum-mode linum-on)