From cace07f27dc31091a606a70ae8b957cd5dd7da43 Mon Sep 17 00:00:00 2001 From: Vincenzo Pupillo Date: Mon, 17 Mar 2025 22:35:23 +0100 Subject: [PATCH] MariaDB and Mysql handle escaped aphostrophes in the same way * lisp/progmodes/sql.el (sql-mode): MariaDB and Mysql both handle escaped apostrophes in the same way. (Bug#77088) --- lisp/progmodes/sql.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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