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
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
36b0d50e
Commit
36b0d50e
authored
Apr 09, 1994
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(make_buffer_string): Copy properties whenever we have some
even if they don't change.
parent
2ff52571
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/editfns.c
src/editfns.c
+3
-2
No files found.
src/editfns.c
View file @
36b0d50e
...
...
@@ -900,7 +900,7 @@ Lisp_Object
make_buffer_string
(
start
,
end
)
int
start
,
end
;
{
Lisp_Object
result
,
tem
;
Lisp_Object
result
,
tem
,
tem1
;
if
(
start
<
GPT
&&
GPT
<
end
)
move_gap
(
start
);
...
...
@@ -909,9 +909,10 @@ make_buffer_string (start, end)
bcopy
(
&
FETCH_CHAR
(
start
),
XSTRING
(
result
)
->
data
,
end
-
start
);
tem
=
Fnext_property_change
(
make_number
(
start
),
Qnil
,
make_number
(
end
));
tem1
=
Ftext_properties_at
(
make_number
(
start
),
Qnil
);
#ifdef USE_TEXT_PROPERTIES
if
(
XINT
(
tem
)
!=
end
)
if
(
XINT
(
tem
)
!=
end
||
!
NILP
(
tem1
)
)
copy_intervals_to_string
(
result
,
current_buffer
,
start
,
end
-
start
);
#endif
...
...
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