Function: woman-set-buffer-display-table

woman-set-buffer-display-table is a byte-compiled function defined in woman.el.gz.

Signature

(woman-set-buffer-display-table)

Documentation

Set up a display table for a WoMan buffer.

This display table is used for displaying internal special characters, but does not interfere with any existing display table, e.g. for displaying European characters.

Source Code

;; Defined in /usr/src/emacs/lisp/woman.el.gz
(defun woman-set-buffer-display-table ()
  "Set up a display table for a WoMan buffer.
This display table is used for displaying internal special characters, but
does not interfere with any existing display table, e.g. for displaying
European characters."
  (setq buffer-display-table
	;; The following test appears to be necessary on some
	;; non-Windows platforms, e.g. Solaris 2.6 when running on a
	;; tty.  Thanks to T. V. Raman <raman@Adobe.COM>.
	;; The MS-DOS terminal also sets standard-display-table to
	;; a non-nil value.
	(if standard-display-table	; default is nil !!!
	    (copy-sequence standard-display-table)
	  (make-display-table)))
  ;; Display the following internal chars correctly:
  (aset buffer-display-table woman-unpadded-space-char [?\s])
  (aset buffer-display-table woman-escaped-escape-char [?\\]))