Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
38d56be3
Commit
38d56be3
authored
Apr 30, 2001
by
Gerd Moellmann
Browse files
(Fprimitive_undo): In a writable buffer, enable undoing
read-only text that is so because of text properties.
parent
c95fc5f1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/undo.c
src/undo.c
+3
-2
No files found.
src/undo.c
View file @
38d56be3
...
...
@@ -412,8 +412,9 @@ Return what remains of the list.")
next
=
Qnil
;
GCPRO2
(
next
,
list
);
/* Don't let read-only properties interfere with undo. */
if
(
!
NILP
(
current_buffer
->
read_only
))
/* In a writable buffer, enable undoing read-only text that is so
because of text properties. */
if
(
NILP
(
current_buffer
->
read_only
))
specbind
(
Qinhibit_read_only
,
Qt
);
/* Don't let `intangible' properties interfere with undo. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment