]> git.eshelyaron.com Git - emacs.git/commitdiff
(hide-ifdefs): Set hif-outside-read-only here.
authorRichard M. Stallman <rms@gnu.org>
Mon, 25 Dec 1995 21:03:10 +0000 (21:03 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 25 Dec 1995 21:03:10 +0000 (21:03 +0000)
lisp/progmodes/hideif.el

index 6b1d56b94b826c7d8645914dd449dcff5b915672..046ce614ca2415b29b872f2b2716cba74d992581 100644 (file)
@@ -929,6 +929,7 @@ Turn off hiding by calling `show-ifdefs'."
 
   (interactive)
   (message "Hiding...")
+  (setq hif-outside-read-only buffer-read-only)
   (if (not hide-ifdef-mode)
       (hide-ifdef-mode 1)) ; turn on hide-ifdef-mode
   (if hide-ifdef-hiding