summaryrefslogtreecommitdiff
path: root/lisp/fringe.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/fringe.el')
-rw-r--r--lisp/fringe.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/fringe.el b/lisp/fringe.el
index d73aae0459e..82cfacc6b6f 100644
--- a/lisp/fringe.el
+++ b/lisp/fringe.el
@@ -189,7 +189,7 @@ fringes."
:type `(choice
,@ (mapcar (lambda (style)
(let ((name
- (replace-regexp-in-string "-" " " (car style))))
+ (string-replace "-" " " (car style))))
`(const :tag
,(concat (capitalize (substring name 0 1))
(substring name 1))