chiark / gitweb /
bin/un-backslashify-selection: Fix for newer `pterm'.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 29 Nov 2017 14:42:41 +0000 (14:42 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 29 Nov 2017 14:42:41 +0000 (14:42 +0000)
commit12c0232522677f3fa0aca369b8feb3a6c5fb7825
tree6961fa4c0f03e3c97efdf4a7a93866d33e80a3f1
parentd2d1d5dcee101bfbc96a6240f5f9af1df9ee652f
bin/un-backslashify-selection: Fix for newer `pterm'.

It seems that `pterm' is trying to be more intelligent about newline
handling.  The result is that when you select a number of lines in an
Emacs ERC buffer, sometimes the final `\' of a line isn't actually
followed by a newline.

Tweak the seddery to cope with this.  In particular, zap spaces
following a `\' along with the `\' itself.
bin/un-backslashify-selection