Variable: dash-fontify-mode

dash-fontify-mode is a buffer-local variable defined in dash.el.

Documentation

Non-nil if Dash-Fontify mode is enabled.

Use the command dash-fontify-mode(var)/dash-fontify-mode(fun) to change this variable.

View in manual

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/dash-20260221.1346/dash.el
;;;###autoload
(define-minor-mode dash-fontify-mode
  "Toggle fontification of Dash special variables.

Dash-Fontify mode is a buffer-local minor mode intended for Emacs
Lisp buffers.  Enabling it causes the special variables bound in
anaphoric Dash macros to be fontified.  These anaphoras include
`it', `it-index', `acc', and `other'.  In older Emacs versions
which do not dynamically detect macros, Dash-Fontify mode
additionally fontifies Dash macro calls.

See also `dash-fontify-mode-lighter' and
`global-dash-fontify-mode'."
  :lighter dash-fontify-mode-lighter
  (if dash-fontify-mode
      (font-lock-add-keywords nil dash--keywords t)
    (font-lock-remove-keywords nil dash--keywords))
  (static-if (fboundp 'font-lock-flush)
      ;; Added in Emacs 25.
      (font-lock-flush)
    (when font-lock-mode
      ;; Unconditionally enables `font-lock-mode' and is marked
      ;; `interactive-only' in later Emacs versions which have
      ;; `font-lock-flush'.
      (font-lock-fontify-buffer))))