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
c7e3eb8b
Commit
c7e3eb8b
authored
Dec 15, 1998
by
Kenichi Handa
Browse files
(printchar): Cancel previous change.
parent
e62e3e6b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
20 deletions
+14
-20
src/print.c
src/print.c
+14
-20
No files found.
src/print.c
View file @
c7e3eb8b
...
...
@@ -417,15 +417,10 @@ printchar (ch, fun)
/* Convert message to multibyte if we are now adding multibyte text. */
if
(
!
NILP
(
current_buffer
->
enable_multibyte_characters
)
&&
len
>
1
&&
!
message_enable_multibyte
)
{
/* If we have already had some message text in the messsage
buffer, we must convert it to multibyte. */
if
(
printbufidx
>
0
)
&&
!
message_enable_multibyte
&&
printbufidx
>
0
)
{
int
size
=
count_size_as_multibyte
(
FRAME_MESSAGE_BUF
(
mini_frame
),
int
size
=
count_size_as_multibyte
(
FRAME_MESSAGE_BUF
(
mini_frame
),
printbufidx
);
unsigned
char
*
tembuf
=
(
unsigned
char
*
)
alloca
(
size
+
1
);
copy_text
(
FRAME_MESSAGE_BUF
(
mini_frame
),
tembuf
,
printbufidx
,
...
...
@@ -439,7 +434,6 @@ printchar (ch, fun)
printbufidx
--
;
}
bcopy
(
tembuf
,
FRAME_MESSAGE_BUF
(
mini_frame
),
printbufidx
);
}
message_enable_multibyte
=
1
;
}
...
...
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