Variable: highlight-numbers-mode

highlight-numbers-mode is a buffer-local variable defined in highlight-numbers.el.

Documentation

Non-nil if Highlight-Numbers mode is enabled.

Use the command highlight-numbers-mode(var)/highlight-numbers-mode(fun) to change this variable.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/highlight-numbers-20181013.1744/highlight-numbers.el
;;;###autoload
(define-minor-mode highlight-numbers-mode
  "Minor mode for highlighting numeric literals in source code.

Toggle Highlight Numbers mode on or off.

With a prefix argument ARG, enable Highlight Numbers mode if ARG is
positive, and disable it otherwise. If called from Lisp, enable
the mode if ARG is omitted or nil, and toggle it if ARG is `toggle'."
  :init-value nil
  :lighter ""
  :keymap nil
  (highlight-numbers--turn-off)
  (when highlight-numbers-mode
    (highlight-numbers--turn-on))
  (when font-lock-mode
    (if (fboundp 'font-lock-flush)
        (font-lock-flush)
      (with-no-warnings (font-lock-fontify-buffer)))))