mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-24 08:51:10 -08:00
* net/shr.el (shr-colorize-region): Allow 88-color tty to use colors.
Suggested by Eli Zaretskii.
This commit is contained in:
parent
888d644f0b
commit
8b95ee49bc
1 changed files with 1 additions and 1 deletions
|
|
@ -1042,7 +1042,7 @@ ones, in case fg and bg are nil."
|
|||
(shr-color-visible bg fg)))))))
|
||||
|
||||
(defun shr-colorize-region (start end fg &optional bg)
|
||||
(when (and (or fg bg) (>= (display-color-cells) 256))
|
||||
(when (and (or fg bg) (>= (display-color-cells) 88))
|
||||
(let ((new-colors (shr-color-check fg bg)))
|
||||
(when new-colors
|
||||
(when fg
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue