diff options
author | Samer Masterson <samer@samertm.com> | 2015-04-08 22:31:51 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2015-04-08 22:31:51 -0400 |
commit | c44f5b046b3f8e9a742c583880ae3a3f78828944 (patch) | |
tree | 6f3f09ef706933b30fd212512d86a66f8527151d /lisp/emacs-lisp/easy-mmode.el | |
parent | 3d78c5578c435c7eb231ff2212aaf85a1b3ed0e5 (diff) | |
download | emacs-c44f5b046b3f8e9a742c583880ae3a3f78828944.tar.gz emacs-c44f5b046b3f8e9a742c583880ae3a3f78828944.tar.bz2 emacs-c44f5b046b3f8e9a742c583880ae3a3f78828944.zip |
* lisp/eshell: Make backslash a no-op in front of normal chars
Fixes: debbugs:8531
* lisp/eshell/esh-arg.el (eshell-parse-argument-hook): Update comment.
(eshell-parse-backslash): Return escaped character after backslash
if it is special. Otherwise, if the backslash is not in a quoted
string, ignore the backslash and return the character after; if
the backslash is in a quoted string, return the backslash and the
character after.
* test/automated/eshell.el (eshell-test/escape-nonspecial)
(eshell-test/escape-nonspecial-unicode)
(eshell-test/escape-nonspecial-quoted)
(eshell-test/escape-special-quoted): Add tests for new
`eshell-parse-backslash' behavior.
Diffstat (limited to 'lisp/emacs-lisp/easy-mmode.el')
0 files changed, 0 insertions, 0 deletions