Function: glyphless-display-mode

glyphless-display-mode is an autoloaded, interactive and byte-compiled function defined in glyphless-mode.el.gz.

Signature

(glyphless-display-mode &optional ARG)

Documentation

Minor mode for displaying glyphless characters in the current buffer.

If enabled, all glyphless characters will be displayed as boxes that display their acronyms.

This is a minor mode. If called interactively, toggle the Glyphless-Display mode mode. If the prefix argument is positive, enable the mode, and if it is zero or negative, disable the mode.

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.

To check whether the minor mode is enabled in the current buffer, evaluate the variable glyphless-display-mode(var)/glyphless-display-mode(fun).

The mode's hook is called both when the mode is enabled and when it is disabled.

View in manual

Probably introduced at or before Emacs version 29.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/glyphless-mode.el.gz
;;;###autoload
(define-minor-mode glyphless-display-mode
  "Minor mode for displaying glyphless characters in the current buffer.
If enabled, all glyphless characters will be displayed as boxes
that display their acronyms."
  :lighter " Glyphless"
  (if glyphless-display-mode
      (progn
        (setq-local glyphless-char-display
                    (let ((table (make-display-table)))
                      (set-char-table-parent table glyphless-char-display)
                      table))
        (glyphless-mode--setup))
    (kill-local-variable 'glyphless-char-display)))