Function: artist-get-replacement-char
artist-get-replacement-char is a byte-compiled function defined in
artist.el.gz.
Signature
(artist-get-replacement-char C)
Documentation
Retrieve a replacement for character C from artist-replacement-table.
The replacement is used to convert tabs and new-lines to spaces.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/artist.el.gz
(defsubst artist-get-replacement-char (c)
"Retrieve a replacement for character C from `artist-replacement-table'.
The replacement is used to convert tabs and new-lines to spaces."
;; Characters may be outside the range of the `artist-replacement-table',
;; for example if they are Unicode code points >= 256.
;; Check so we don't attempt to access the array out of its bounds,
;; assuming no such character needs to be replaced.
(if (< c (length artist-replacement-table))
(aref artist-replacement-table c)
c))