Mercurial > emacs
view admin/notes/trailing-whitespace @ 95602:12be2f7984b9
* replace.el (replace-search-function)
(replace-re-search-function): New vars.
(perform-replace): Use them.
* longlines.el (longlines-re-search-forward): New function.
(longlines-mode): Bind replace-search-function and
replace-re-search-function, to ensure that replacement commands
treat newlines as spaces.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Fri, 06 Jun 2008 20:30:54 +0000 |
parents | 695cf19ef79e |
children | 375f2633d815 ef719132ddfa |
line wrap: on
line source
ttn 2003-02-14 apparently there was a big discussion on emacs-devel wrt trailing whitespace. there was a mass-change to remove such from various branches in cvs. probably it's a good idea to avoid adding trailing whitespace in new code/docs and in changes. ;;; arch-tag: de441379-c345-4826-a784-352b5413a698