summaryrefslogtreecommitdiff
path: root/lisp/macros.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2003-07-23 18:00:25 +0000
committerGlenn Morris <rgm@gnu.org>2003-07-23 18:00:25 +0000
commit5367d2b303f3b47cb37a10364c80063f1b749722 (patch)
tree349d71cc3acfe8b9ebd5be9b77e391f9b9308d55 /lisp/macros.el
parent0a74d882762b63d7e7eaa0c84772c356993da079 (diff)
downloademacs-5367d2b303f3b47cb37a10364c80063f1b749722.tar.gz
(insert-kbd-macro): Escape double quote character. From Thomas W
Murphy <twm@andrew.cmu.edu>.
Diffstat (limited to 'lisp/macros.el')
-rw-r--r--lisp/macros.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/macros.el b/lisp/macros.el
index ee3b16f7764..b708683bdfa 100644
--- a/lisp/macros.el
+++ b/lisp/macros.el
@@ -150,6 +150,8 @@ use this command, and then save the file."
(setq mods (cdr mods)))
(cond ((= char ?\\)
(insert "\\\\"))
+ ((= char ?\")
+ (insert "\\\""))
((= char ?\;)
(insert "\\;"))
((= char 127)