aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/term
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/term')
-rw-r--r--lisp/term/tty-colors.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/term/tty-colors.el b/lisp/term/tty-colors.el
index 307586f2213..5af8170203e 100644
--- a/lisp/term/tty-colors.el
+++ b/lisp/term/tty-colors.el
@@ -820,7 +820,7 @@ Value is the modified color alist for FRAME."
820 "Return COLOR in canonical form. 820 "Return COLOR in canonical form.
821A canonicalized color name is all-lower case, with any blanks removed." 821A canonicalized color name is all-lower case, with any blanks removed."
822 (let ((case-fold-search nil)) 822 (let ((case-fold-search nil))
823 (if (string-match "[A-Z ]" color) 823 (if (string-match-p "[A-Z ]" color)
824 (replace-regexp-in-string " +" "" (downcase color)) 824 (replace-regexp-in-string " +" "" (downcase color))
825 color))) 825 color)))
826 826