Function: display-table-slot

display-table-slot is an autoloaded and byte-compiled function defined in disp-table.el.gz.

Signature

(display-table-slot DISPLAY-TABLE SLOT)

Documentation

Return the value of the extra slot in DISPLAY-TABLE named SLOT.

SLOT may be a number from 0 to 17 inclusive, or a slot name (symbol). Valid symbols are truncation, wrap, escape, control, selective-display, 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,

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/disp-table.el.gz
;;;###autoload
(defun display-table-slot (display-table slot)
  "Return the value of the extra slot in DISPLAY-TABLE named SLOT.
SLOT may be a number from 0 to 17 inclusive, or a slot name (symbol).
Valid symbols are `truncation', `wrap', `escape', `control',
`selective-display', `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',"
  (let ((slot-number
	 (if (numberp slot) slot
	   (or (get slot 'display-table-slot)
	       (error "Invalid display-table slot name: %s" slot)))))
    (char-table-extra-slot display-table slot-number)))