diff options
author | Karl Heuer <kwzh@gnu.org> | 1995-01-16 22:57:31 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1995-01-16 22:57:31 +0000 |
commit | 79a911c35e93b5086bbd211d1c419fe03a55586b (patch) | |
tree | b8f00964980b676628309322d8ad21db7ac40c85 /lisp | |
parent | 971929895b44d92dd4e826243cb186da1c8a39d8 (diff) | |
download | emacs-79a911c35e93b5086bbd211d1c419fe03a55586b.tar.gz |
(standard-display-ascii): Doc fix. Allow use with X.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/disp-table.el | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lisp/disp-table.el b/lisp/disp-table.el index b15bc7fed17..ce06fd8e508 100644 --- a/lisp/disp-table.el +++ b/lisp/disp-table.el @@ -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)))) |