Function: standard-display-unicode-special-glyphs

standard-display-unicode-special-glyphs is an autoloaded, interactive and byte-compiled function defined in disp-table.el.gz.

Signature

(standard-display-unicode-special-glyphs)

Documentation

Display some glyphs using Unicode characters.

The glyphs being changed by this function are vertical-border, box-vertical,box-horizontal, box-down-right, box-down-left, box-up-right, box-up-left,box-double-vertical, box-double-horizontal, box-double-down-right, box-double-down-left, box-double-up-right, box-double-up-left.

To customize the glyphs, use make-glyph-code to create a glyph from a character code and a face, and then use set-display-table-slot to assign the glyph to a slot.

View in manual

Probably introduced at or before Emacs version 31.1.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/disp-table.el.gz
;;;###autoload
(defun standard-display-unicode-special-glyphs ()
  "Display some glyphs using Unicode characters.
The glyphs being changed by this function are `vertical-border',
`box-vertical',`box-horizontal', `box-down-right', `box-down-left',
`box-up-right', `box-up-left',`box-double-vertical',
`box-double-horizontal', `box-double-down-right',
`box-double-down-left', `box-double-up-right', `box-double-up-left'.

To customize the glyphs, use `make-glyph-code' to create a glyph from a
character code and a face, and then use `set-display-table-slot' to
assign the glyph to a slot."
  (interactive)
  (set-display-table-slot standard-display-table
			  'vertical-border (make-glyph-code #x2502))

  (set-display-table-slot standard-display-table
			  'box-vertical (make-glyph-code #x2502))
  (set-display-table-slot standard-display-table
			  'box-horizontal (make-glyph-code #x2500))
  (set-display-table-slot standard-display-table
			  'box-down-right (make-glyph-code #x250c))
  (set-display-table-slot standard-display-table
			  'box-down-left (make-glyph-code #x2510))
  (set-display-table-slot standard-display-table
			  'box-up-right (make-glyph-code #x2514))
  (set-display-table-slot standard-display-table
			  'box-up-left (make-glyph-code #x2518))

  (set-display-table-slot standard-display-table
			  'box-double-vertical (make-glyph-code #x2551))
  (set-display-table-slot standard-display-table
			  'box-double-horizontal (make-glyph-code #x2550))
  (set-display-table-slot standard-display-table
			  'box-double-down-right (make-glyph-code #x2554))
  (set-display-table-slot standard-display-table
			  'box-double-down-left (make-glyph-code #x2557))
  (set-display-table-slot standard-display-table
			  'box-double-up-right (make-glyph-code #x255a))
  (set-display-table-slot standard-display-table
			  'box-double-up-left (make-glyph-code #x255d)))