Mercurial > emacs
changeset 10435:0f07f211973a
(standard-display-ascii): Doc fix. Allow use with X.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Mon, 16 Jan 1995 22:57:31 +0000 |
parents | 5cb0747f521f |
children | c9ba2babe54e |
files | lisp/disp-table.el |
diffstat | 1 files changed, 4 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/disp-table.el Mon Jan 16 22:48:03 1995 +0000 +++ b/lisp/disp-table.el Mon Jan 16 22:57:31 1995 +0000 @@ -94,12 +94,11 @@ (setq l (1+ l)))) ;;;###autoload +;; This function does NOT take terminal-dependent escape sequences. +;; For that, you need to go through create-glyph. Use one of the +;; other functions below, or roll your own. (defun standard-display-ascii (c s) - "Display character C using string S. -S is usually a terminal-dependent escape sequence. -This function is meaningless for an X frame." - (if window-system - (error "Cannot use string glyphs in a windowing system")) + "Display character C using printable string S." (or standard-display-table (setq standard-display-table (make-vector display-table-len nil))) (aset standard-display-table c (apply 'vector (append s nil))))