Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
7c402969
Commit
7c402969
authored
Nov 16, 2003
by
Jan Djärv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove period at end of error message.
parent
57669b57
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
20 additions
and
11 deletions
+20
-11
src/ChangeLog
src/ChangeLog
+9
-0
src/ccl.c
src/ccl.c
+1
-1
src/emacs.c
src/emacs.c
+1
-1
src/fontset.c
src/fontset.c
+1
-1
src/frame.c
src/frame.c
+1
-1
src/process.c
src/process.c
+1
-1
src/sunfns.c
src/sunfns.c
+1
-1
src/w32bdf.c
src/w32bdf.c
+4
-4
src/w32fns.c
src/w32fns.c
+1
-1
No files found.
src/ChangeLog
View file @
7c402969
2003-11-16 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
* w32fns.c (XPutPixel):
* w32bdf.c (w32_init_bdf_font):
* sunfns.c (sel_read):
* process.c (Fmake_network_process):
* frame.c (store_frame_param):
* fontset.c (Fset_fontset_font):
* emacs.c (shut_down_emacs):
* ccl.c (ccl_driver): Remove period at end of error message.
* config.in: Regenerate.
* xfns.c (x_window_to_frame, x_any_window_to_frame)
...
...
src/ccl.c
View file @
7c402969
...
...
@@ -1872,7 +1872,7 @@ ccl_driver (ccl, source, destination, src_bytes, dst_bytes, consumed)
break
;
default:
sprintf
(
msg
,
"
\n
CCL: Unknown error type (%d)
.
"
,
ccl
->
status
);
sprintf
(
msg
,
"
\n
CCL: Unknown error type (%d)"
,
ccl
->
status
);
}
msglen
=
strlen
(
msg
);
...
...
src/emacs.c
View file @
7c402969
...
...
@@ -1994,7 +1994,7 @@ shut_down_emacs (sig, no_x, stuff)
fflush
(
stdout
);
reset_sys_modes
();
if
(
sig
&&
sig
!=
SIGTERM
)
fprintf
(
stderr
,
"Fatal error (%d)
.
"
,
sig
);
fprintf
(
stderr
,
"Fatal error (%d)"
,
sig
);
}
}
#else
...
...
src/fontset.c
View file @
7c402969
...
...
@@ -1012,7 +1012,7 @@ name of a font, REGISTRY is a registry name of a font. */)
from
=
XINT
(
XCAR
(
character
));
to
=
XINT
(
XCDR
(
character
));
if
(
!
char_valid_p
(
from
,
0
)
||
!
char_valid_p
(
to
,
0
))
error
(
"Character range should be by non-generic characters
.
"
);
error
(
"Character range should be by non-generic characters"
);
if
(
!
NILP
(
name
)
&&
(
SINGLE_BYTE_CHAR_P
(
from
)
||
SINGLE_BYTE_CHAR_P
(
to
)))
error
(
"Can't change font for a single byte character"
);
...
...
src/frame.c
View file @
7c402969
...
...
@@ -2018,7 +2018,7 @@ store_frame_param (f, prop, val)
if
(
EQ
(
prop
,
Qminibuffer
)
&&
WINDOWP
(
val
))
{
if
(
!
MINI_WINDOW_P
(
XWINDOW
(
val
)))
error
(
"Surrogate minibuffer windows must be minibuffer windows
.
"
);
error
(
"Surrogate minibuffer windows must be minibuffer windows"
);
if
((
FRAME_HAS_MINIBUF_P
(
f
)
||
FRAME_MINIBUF_ONLY_P
(
f
))
&&
!
EQ
(
val
,
f
->
minibuffer_window
))
...
...
src/process.c
View file @
7c402969
...
...
@@ -3028,7 +3028,7 @@ usage: (make-network-process &rest ARGS) */)
{
int
optval
=
1
;
if
(
setsockopt
(
s
,
SOL_SOCKET
,
SO_REUSEADDR
,
&
optval
,
sizeof
optval
))
report_file_error
(
"Cannot set reuse option on server socket
.
"
,
Qnil
);
report_file_error
(
"Cannot set reuse option on server socket"
,
Qnil
);
}
if
(
bind
(
s
,
lres
->
ai_addr
,
lres
->
ai_addrlen
))
...
...
src/sunfns.c
View file @
7c402969
...
...
@@ -299,7 +299,7 @@ sel_read (sel, file)
error
(
"fread botch in sel_read"
);
return
(
-
1
);
}
else
if
(
n
<
0
)
{
error
(
"Error reading selection
.
"
);
error
(
"Error reading selection"
);
return
(
-
1
);
}
/*
...
...
src/w32bdf.c
View file @
7c402969
...
...
@@ -247,7 +247,7 @@ w32_init_bdf_font(char *filename)
hbdf_bmp_heap
=
HeapCreate
(
0
,
BDF_BITMAP_HEAP_INITIAL_SIZE
,
0
);
if
(
!
hbdf_cp_heap
||
!
hbdf_bmp_heap
)
error
(
"Fail to create heap for BDF
.
"
);
error
(
"Fail to create heap for BDF"
);
hfile
=
CreateFile
(
filename
,
GENERIC_READ
,
FILE_SHARE_READ
,
NULL
,
OPEN_EXISTING
,
FILE_ATTRIBUTE_NORMAL
,
NULL
);
...
...
@@ -257,13 +257,13 @@ w32_init_bdf_font(char *filename)
(
fileinfo
.
nFileSizeLow
>
BDF_FILE_SIZE_MAX
))
{
CloseHandle
(
hfile
);
error
(
"Fail to open BDF file
.
"
);
error
(
"Fail to open BDF file"
);
}
hfilemap
=
CreateFileMapping
(
hfile
,
NULL
,
PAGE_READONLY
,
0
,
0
,
NULL
);
if
(
hfilemap
==
INVALID_HANDLE_VALUE
)
{
CloseHandle
(
hfile
);
error
(
"Can't map font
.
"
);
error
(
"Can't map font"
);
}
font
=
MapViewOfFile
(
hfilemap
,
FILE_MAP_READ
,
0
,
0
,
0
);
...
...
@@ -272,7 +272,7 @@ w32_init_bdf_font(char *filename)
{
CloseHandle
(
hfile
);
CloseHandle
(
hfilemap
);
error
(
"Can't view font
.
"
);
error
(
"Can't view font"
);
}
bdffontp
=
(
bdffont
*
)
xmalloc
(
sizeof
(
bdffont
));
...
...
src/w32fns.c
View file @
7c402969
...
...
@@ -9679,7 +9679,7 @@ static void XPutPixel (ximg, x, y, color)
*pixel = *pixel & ~(1 << x % 8);
}
else
image_error ("XPutPixel: palette image not supported
.
", Qnil, Qnil);
image_error ("XPutPixel: palette image not supported", Qnil, Qnil);
}
/* Create IMG->pixmap from an array COLORS of XColor structures, whose
...
...
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