aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1995-01-16 22:57:31 +0000
committerKarl Heuer1995-01-16 22:57:31 +0000
commita171458a3268adf715abd8ae5fb2ecd8a9628bfa (patch)
treec0f9a175658bd4464166bf01ac413d16e7b3482a
parentab7748010f5bcb72dd3b334acfabd0da769964d7 (diff)
downloademacs-a171458a3268adf715abd8ae5fb2ecd8a9628bfa.tar.gz
emacs-a171458a3268adf715abd8ae5fb2ecd8a9628bfa.zip
(standard-display-ascii): Doc fix. Allow use with X.
-rw-r--r--lisp/disp-table.el9
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 @@
94 (setq l (1+ l)))) 94 (setq l (1+ l))))
95 95
96;;;###autoload 96;;;###autoload
97;; This function does NOT take terminal-dependent escape sequences.
98;; For that, you need to go through create-glyph. Use one of the
99;; other functions below, or roll your own.
97(defun standard-display-ascii (c s) 100(defun standard-display-ascii (c s)
98 "Display character C using string S. 101 "Display character C using printable string S."
99S is usually a terminal-dependent escape sequence.
100This function is meaningless for an X frame."
101 (if window-system
102 (error "Cannot use string glyphs in a windowing system"))
103 (or standard-display-table 102 (or standard-display-table
104 (setq standard-display-table (make-vector display-table-len nil))) 103 (setq standard-display-table (make-vector display-table-len nil)))
105 (aset standard-display-table c (apply 'vector (append s nil)))) 104 (aset standard-display-table c (apply 'vector (append s nil))))