ray@GIBBS.PHYSICS.PURDUE.EDU (Ray Moody) (07/11/89)
Outline mode calls subst-char-in-region in such a manner that the buffer is marked as "not really changed". This confuses the DoDsp() -- it needs to know if the buffer has changed in order to properly update the screen. The net result is that ^L must be pushed after executing \C-c \C-s. Ray ------------------------------------------------------------------------------- RCS file: /usr/src/new/gnu/emacs/lisp/RCS/outline.el,v retrieving revision 18.54 diff -c -r18.54 /usr/src/new/gnu/emacs/lisp/outline.el *** /tmp/,RCSt1016087 Mon Jul 10 22:53:16 1989 --- /usr/src/new/gnu/emacs/lisp/outline.el Mon Jul 10 22:52:50 1989 *************** *** 159,165 (unwind-protect (subst-char-in-region from to (if (= flag ?\n) ?\^M ?\n) ! flag t) (set-buffer-modified-p modp)))) (defun hide-entry () --- 159,165 ----- (unwind-protect (subst-char-in-region from to (if (= flag ?\n) ?\^M ?\n) ! flag) (set-buffer-modified-p modp)))) (defun hide-entry ()