Variable: escaped-string-quote
escaped-string-quote is a buffer-local variable defined in
simple.el.gz.
Documentation
String to insert before a string quote character in a string to escape it.
This is typically a backslash (in most languages):
'foo\'bar'
"foo\\"bar"
But in SQL, for instance, it's "'":
'foo''bar'
This can also be a function, which is called with the string terminator as the argument, and should return a string to be used as the escape.
This variable is used by the yank-in-context command.
Source Code
;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defvar-local escaped-string-quote "\\"
"String to insert before a string quote character in a string to escape it.
This is typically a backslash (in most languages):
\\='foo\\\\='bar\\='
\"foo\\\"bar\"
But in SQL, for instance, it's \"\\='\":
\\='foo\\='\\='bar\\='
This can also be a function, which is called with the string
terminator as the argument, and should return a string to be
used as the escape.
This variable is used by the `yank-in-context' command.")