From: Richard M. Stallman Date: Mon, 25 Dec 1995 21:03:10 +0000 (+0000) Subject: (hide-ifdefs): Set hif-outside-read-only here. X-Git-Tag: emacs-19.34~2004 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3edc14ae842f515f3eebd4ca4110280c2ba6990d;p=emacs.git (hide-ifdefs): Set hif-outside-read-only here. --- diff --git a/lisp/progmodes/hideif.el b/lisp/progmodes/hideif.el index 6b1d56b94b8..046ce614ca2 100644 --- a/lisp/progmodes/hideif.el +++ b/lisp/progmodes/hideif.el @@ -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