Function: set-display-table-slot

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

Signature

(set-display-table-slot DISPLAY-TABLE SLOT VALUE)

Documentation

Set the value of the extra slot in DISPLAY-TABLE named SLOT to VALUE.

SLOT may be a number from 0 to 5 inclusive, or a name (symbol). Valid symbols are truncation, wrap, escape, control, selective-display, and vertical-border.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/disp-table.el.gz
;;;###autoload
(defun set-display-table-slot (display-table slot value)
  "Set the value of the extra slot in DISPLAY-TABLE named SLOT to VALUE.
SLOT may be a number from 0 to 5 inclusive, or a name (symbol).
Valid symbols are `truncation', `wrap', `escape', `control',
`selective-display', and `vertical-border'."
  (let ((slot-number
	 (if (numberp slot) slot
	   (or (get slot 'display-table-slot)
	       (error "Invalid display-table slot name: %s" slot)))))
    (set-char-table-extra-slot display-table slot-number value)))