diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el index a1c50a06990..58fbf3c51e7 100644 --- a/lisp/progmodes/sql.el +++ b/lisp/progmodes/sql.el @@ -4164,7 +4164,7 @@ must tell Emacs. Here's how to do that in your init file: (eval '(syntax-propertize-rules ;; Handle escaped apostrophes within strings. - ((if (eq sql-product 'mysql) + ((if (member sql-product '(mysql mariadb)) "\\\\'" "''") (0