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
22e64f7c
Commit
22e64f7c
authored
Jun 19, 2008
by
Kenichi Handa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include <ctype.h>
(x_set_font_backend): Allow spacing characters in the X resource for FontBackend.
parent
40ef8242
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
src/ChangeLog
src/ChangeLog
+8
-1
src/frame.c
src/frame.c
+7
-2
No files found.
src/ChangeLog
View file @
22e64f7c
2008-06-19 Kenichi Handa <handa@m17n.org>
* frame.c: Include <ctype.h>.
(x_set_font_backend): Allow spacing characters in the X resource
for FontBackend.
2008-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
* w32fns.c, xfns.c (Qfont_param): New var.
(syms_of_w32fns): Initialize it.
(x_default_font_parameter): Record explicit `font' into `font-parameter'.
(x_default_font_parameter): Record explicit `font' into
`font-parameter'.
2008-06-18 Kenichi Handa <handa@m17n.org>
...
...
src/frame.c
View file @
22e64f7c
...
...
@@ -20,6 +20,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include <config.h>
#include <stdio.h>
#include <ctype.h>
#include "lisp.h"
#include "character.h"
#ifdef HAVE_X_WINDOWS
...
...
@@ -3419,12 +3420,16 @@ x_set_font_backend (f, new_value, old_value)
new_value
=
Qnil
;
while
(
*
p0
)
{
while
(
*
p1
&&
*
p1
!=
','
)
p1
++
;
while
(
*
p1
&&
!
isspace
(
*
p1
)
&&
*
p1
!=
','
)
p1
++
;
if
(
p0
<
p1
)
new_value
=
Fcons
(
Fintern
(
make_string
(
p0
,
p1
-
p0
),
Qnil
),
new_value
);
if
(
*
p1
)
p1
++
;
{
int
c
;
while
((
c
=
*++
p1
)
&&
isspace
(
c
));
}
p0
=
p1
;
}
new_value
=
Fnreverse
(
new_value
);
...
...
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