1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

*** empty log message ***

This commit is contained in:
Richard M. Stallman 1992-06-26 04:13:37 +00:00
parent d5a92c0640
commit 9371315a05

View File

@ -200,7 +200,8 @@ A heading line is one that starts with a `*' (or that
"Hides or shows lines from FROM to TO, according to FLAG.
If FLAG is `\\n' (newline character) then text is shown,
while if FLAG is `\\^M' (control-M) the text is hidden."
(let ((modp (buffer-modified-p)))
(let (buffer-read-only
(modp (buffer-modified-p)))
(unwind-protect
(subst-char-in-region from to
(if (= flag ?\n) ?\^M ?\n)