(ansi-color-get-face-1): Fix typo in handler.

This commit is contained in:
Glenn Morris 2009-09-17 06:19:57 +00:00
parent 58a8cf5135
commit 74f24ba705
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,7 @@
2009-09-17 Glenn Morris <rgm@gnu.org>
* ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
* simple.el (hard-newline): Give it a doc-string.
2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>

View file

@ -604,7 +604,7 @@ property of `ansi-color-faces-vector' and `ansi-color-names-vector'."
ANSI-CODE is used as an index into the vector."
(condition-case nil
(aref ansi-color-map ansi-code)
('args-out-of-range nil)))
(args-out-of-range nil)))
(defun ansi-color-get-face (escape-seq)
"Create a new face by applying all the parameters in ESCAPE-SEQ.