summaryrefslogtreecommitdiff
path: root/oldXMenu/Create.c
diff options
context:
space:
mode:
authorNoam Postavsky <npostavs@gmail.com>2017-03-14 09:23:08 -0400
committerNoam Postavsky <npostavs@gmail.com>2017-03-14 22:14:30 -0400
commitc66aaa61639e72a70a4f2c4bc73645048caebe53 (patch)
tree4212412986c469f27334972e44861c4296520fed /oldXMenu/Create.c
parentfac0bb9cf76072941ae9dc9c7019929eb1a0f1dd (diff)
downloademacs-c66aaa61639e72a70a4f2c4bc73645048caebe53.tar.gz
emacs-c66aaa61639e72a70a4f2c4bc73645048caebe53.tar.bz2
emacs-c66aaa61639e72a70a4f2c4bc73645048caebe53.zip
Recomplexify ‘delete-trailing-whitespace’ by treating \n as whitespace again
Mostly reverts "Simplify ‘delete-trailing-whitespace’ by not treating \n as whitespace" from 2016-07-04. Setting \n to non-whitespace causes the regex engine to backtrack a lot when searching for "\\s-+$" (Bug#26079). * lisp/simple.el (delete-trailing-whitespace): Don't change newline syntax, search for "\\s-$" and then skip backward over trailing whitespace.
Diffstat (limited to 'oldXMenu/Create.c')
0 files changed, 0 insertions, 0 deletions