diff options
| author | Chong Yidong | 2010-01-14 20:46:53 -0500 |
|---|---|---|
| committer | Chong Yidong | 2010-01-14 20:46:53 -0500 |
| commit | 7ffdf101fbb95fce1acba91af39c9df1f3c2a053 (patch) | |
| tree | f423f1196934e71fc3d7da40cd8657e3840e47b2 | |
| parent | becbbaa7132dde5d693f41d6e55511024a258af5 (diff) | |
| download | emacs-7ffdf101fbb95fce1acba91af39c9df1f3c2a053.tar.gz emacs-7ffdf101fbb95fce1acba91af39c9df1f3c2a053.zip | |
Fix Qnone definition in NS files.
* nsterm.m (Qnone): Define here.
* nsfns.m (Qnone): Move definition to nsterm.m.
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/nsfns.m | 4 | ||||
| -rw-r--r-- | src/nsterm.m | 4 |
3 files changed, 9 insertions, 5 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index e18591b345b..f5e2393724c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2010-01-15 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * nsterm.m (Qnone): Define. | ||
| 4 | |||
| 5 | * nsfns.m (Qnone): Move definition to nsterm.m. | ||
| 6 | |||
| 1 | 2010-01-14 Kenichi Handa <handa@m17n.org> | 7 | 2010-01-14 Kenichi Handa <handa@m17n.org> |
| 2 | 8 | ||
| 3 | * coding.c (detect_coding_iso_2022): Fix handling of euc-xx coding | 9 | * coding.c (detect_coding_iso_2022): Fix handling of euc-xx coding |
diff --git a/src/nsfns.m b/src/nsfns.m index 9fdcaa47c8c..357222bb18a 100644 --- a/src/nsfns.m +++ b/src/nsfns.m | |||
| @@ -80,8 +80,8 @@ extern Lisp_Object Qface_set_after_frame_default; | |||
| 80 | extern Lisp_Object Qunderline, Qundefined; | 80 | extern Lisp_Object Qunderline, Qundefined; |
| 81 | extern Lisp_Object Qheight, Qminibuffer, Qname, Qonly, Qwidth; | 81 | extern Lisp_Object Qheight, Qminibuffer, Qname, Qonly, Qwidth; |
| 82 | extern Lisp_Object Qunsplittable, Qmenu_bar_lines, Qbuffer_predicate, Qtitle; | 82 | extern Lisp_Object Qunsplittable, Qmenu_bar_lines, Qbuffer_predicate, Qtitle; |
| 83 | extern Lisp_Object Qnone; | ||
| 83 | 84 | ||
| 84 | Lisp_Object Qnone; | ||
| 85 | Lisp_Object Qbuffered; | 85 | Lisp_Object Qbuffered; |
| 86 | Lisp_Object Qfontsize; | 86 | Lisp_Object Qfontsize; |
| 87 | 87 | ||
| @@ -2606,8 +2606,6 @@ syms_of_nsfns () | |||
| 2606 | { | 2606 | { |
| 2607 | int i; | 2607 | int i; |
| 2608 | 2608 | ||
| 2609 | Qnone = intern ("none"); | ||
| 2610 | staticpro (&Qnone); | ||
| 2611 | Qfontsize = intern ("fontsize"); | 2609 | Qfontsize = intern ("fontsize"); |
| 2612 | staticpro (&Qfontsize); | 2610 | staticpro (&Qfontsize); |
| 2613 | 2611 | ||
diff --git a/src/nsterm.m b/src/nsterm.m index 69cece47b0e..a102267920c 100644 --- a/src/nsterm.m +++ b/src/nsterm.m | |||
| @@ -141,8 +141,7 @@ Lisp_Object ns_input_color, ns_input_text, ns_working_text; | |||
| 141 | Lisp_Object ns_input_spi_name, ns_input_spi_arg; | 141 | Lisp_Object ns_input_spi_name, ns_input_spi_arg; |
| 142 | Lisp_Object Vx_toolkit_scroll_bars; | 142 | Lisp_Object Vx_toolkit_scroll_bars; |
| 143 | static Lisp_Object Qmodifier_value; | 143 | static Lisp_Object Qmodifier_value; |
| 144 | /* TODO: unsure why these defined in term files, anyway we need in keymap.c */ | 144 | Lisp_Object Qalt, Qcontrol, Qhyper, Qmeta, Qsuper, Qnone; |
| 145 | Lisp_Object Qalt, Qcontrol, Qhyper, Qmeta, Qsuper; | ||
| 146 | extern Lisp_Object Qcursor_color, Qcursor_type, Qns; | 145 | extern Lisp_Object Qcursor_color, Qcursor_type, Qns; |
| 147 | 146 | ||
| 148 | /* Specifies which emacs modifier should be generated when NS receives | 147 | /* Specifies which emacs modifier should be generated when NS receives |
| @@ -6151,6 +6150,7 @@ syms_of_nsterm () | |||
| 6151 | DEFSYM (Qmeta, "meta"); | 6150 | DEFSYM (Qmeta, "meta"); |
| 6152 | DEFSYM (Qsuper, "super"); | 6151 | DEFSYM (Qsuper, "super"); |
| 6153 | DEFSYM (Qcontrol, "control"); | 6152 | DEFSYM (Qcontrol, "control"); |
| 6153 | DEFSYM (Qnone, "none"); | ||
| 6154 | Fput (Qalt, Qmodifier_value, make_number (alt_modifier)); | 6154 | Fput (Qalt, Qmodifier_value, make_number (alt_modifier)); |
| 6155 | Fput (Qhyper, Qmodifier_value, make_number (hyper_modifier)); | 6155 | Fput (Qhyper, Qmodifier_value, make_number (hyper_modifier)); |
| 6156 | Fput (Qmeta, Qmodifier_value, make_number (meta_modifier)); | 6156 | Fput (Qmeta, Qmodifier_value, make_number (meta_modifier)); |