Commit 4da8ff79 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(sql-mode): Doc change.

(sql-mode-syntax-table): Backslash is no longer an escape character.
parent aa5dbf7b
......@@ -4,7 +4,7 @@
;; Author: Alex Schroeder <>
;; Maintainer: Alex Schroeder <>
;; Version: 1.6.3
;; Version: 1.6.5
;; Keywords: comm languages processes
;; URL:
......@@ -531,6 +531,8 @@ Based on `comint-mode-map'.")
(modify-syntax-entry ?\f "> b" table)
;; single quotes (') quotes delimit strings
(modify-syntax-entry ?' "\"" table)
;; backslash is no escape character
(modify-syntax-entry ?\\ "." table)
"Syntax table used in `sql-mode' and `sql-interactive-mode'.")
......@@ -1115,7 +1117,15 @@ determine where the strings should be sent to. You can set the
value of `sql-buffer' using \\[sql-set-sqli-buffer].
For information on how to create multiple SQLi buffers, see
Note that SQL doesn't have an escape character unless you specify
one. If you specify backslash as escape character in SQL,
you must tell Emacs. Here's how to do that in your `~/.emacs' file:
\(add-hook 'sql-mode-hook
(lambda ()
(modify-syntax-entry ?\\\\ \".\" sql-mode-syntax-table)))"
(setq major-mode 'sql-mode)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment