diff options
| author | Sam Steingold | 2016-12-07 15:06:08 -0500 |
|---|---|---|
| committer | Sam Steingold | 2016-12-07 15:06:20 -0500 |
| commit | 4ab7c308e073aa26973c5cdd17ec44bf5b325b57 (patch) | |
| tree | 326520665382d9dd90b0d70de82df04a77347c65 /src | |
| parent | 220ccda78bd8e91069d373287b5d9d0fa505fcf1 (diff) | |
| download | emacs-4ab7c308e073aa26973c5cdd17ec44bf5b325b57.tar.gz emacs-4ab7c308e073aa26973c5cdd17ec44bf5b325b57.zip | |
delete-trailing-whitespace: handle read-only text in buffer
* lisp/simple.el (region-modifiable-p): New function.
(delete-trailing-whitespace): Us it to avoid trying to delete read-only text.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions