mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-22 05:51:11 -07:00
(standard-display-ascii): Doc fix. Allow use with X.
This commit is contained in:
parent
ab7748010f
commit
a171458a32
1 changed files with 4 additions and 5 deletions
|
|
@ -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))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue