summaryrefslogtreecommitdiff
path: root/src/insdel.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-03-06 02:58:49 +0000
committerRichard M. Stallman <rms@gnu.org>1993-03-06 02:58:49 +0000
commit78d7ac46c72e9c093191a3065ce6540033803599 (patch)
tree293b978fe4f6084b15bf812372bdde0de827c735 /src/insdel.c
parentf405a5850cf04d7fd24e673718116fbfb8c83dcc (diff)
downloademacs-78d7ac46c72e9c093191a3065ce6540033803599.tar.gz
(check_protected_fields): Delete decl.
Diffstat (limited to 'src/insdel.c')
-rw-r--r--src/insdel.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/insdel.c b/src/insdel.c
index 35345440c2a..7b5b8e083c1 100644
--- a/src/insdel.c
+++ b/src/insdel.c
@@ -24,10 +24,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "buffer.h"
#include "window.h"
-/* Nonzero means don't allow protected fields to be modified. */
-
-extern int check_protected_fields;
-
/* Move gap to position `pos'.
Note that this can quit! */
@@ -497,11 +493,6 @@ prepare_to_modify_buffer (start, end)
if (!NILP (current_buffer->read_only))
Fbarf_if_buffer_read_only ();
-#if 0 /* Superceded by interval code */
- if (check_protected_fields)
- Fregion_fields (start, end, Qnil, Qt);
-#endif
-
/* Only defined if Emacs is compiled with USE_TEXT_PROPERTIES */
verify_interval_modification (current_buffer, start, end);