Skip to content

Fontification of special variables

The autoloaded minor mode dash-fontify-mode is provided for optional fontification of anaphoric Dash variables (it, acc, etc.) in Emacs Lisp buffers using search-based Font Lock (see Font Lock in The GNU Emacs Manual). In older Emacs versions which do not dynamically detect macros, the minor mode also fontifies calls to Dash macros.

To automatically enable the minor mode in all Emacs Lisp buffers, just call its autoloaded global counterpart global-dash-fontify-mode, either interactively or from your user-init-file:

emacs-lisp
(global-dash-fontify-mode)