From: Chong Yidong Date: Fri, 15 Jan 2010 01:46:53 +0000 (-0500) Subject: Fix Qnone definition in NS files. X-Git-Tag: emacs-pretest-23.1.92~38^2^2~4 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7ffdf101fbb95fce1acba91af39c9df1f3c2a053;p=emacs.git Fix Qnone definition in NS files. * nsterm.m (Qnone): Define here. * nsfns.m (Qnone): Move definition to nsterm.m. --- diff --git a/src/ChangeLog b/src/ChangeLog index e18591b345b..f5e2393724c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2010-01-15 Chong Yidong + + * nsterm.m (Qnone): Define. + + * nsfns.m (Qnone): Move definition to nsterm.m. + 2010-01-14 Kenichi Handa * 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; extern Lisp_Object Qunderline, Qundefined; extern Lisp_Object Qheight, Qminibuffer, Qname, Qonly, Qwidth; extern Lisp_Object Qunsplittable, Qmenu_bar_lines, Qbuffer_predicate, Qtitle; +extern Lisp_Object Qnone; -Lisp_Object Qnone; Lisp_Object Qbuffered; Lisp_Object Qfontsize; @@ -2606,8 +2606,6 @@ syms_of_nsfns () { int i; - Qnone = intern ("none"); - staticpro (&Qnone); Qfontsize = intern ("fontsize"); staticpro (&Qfontsize); 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; Lisp_Object ns_input_spi_name, ns_input_spi_arg; Lisp_Object Vx_toolkit_scroll_bars; static Lisp_Object Qmodifier_value; -/* TODO: unsure why these defined in term files, anyway we need in keymap.c */ -Lisp_Object Qalt, Qcontrol, Qhyper, Qmeta, Qsuper; +Lisp_Object Qalt, Qcontrol, Qhyper, Qmeta, Qsuper, Qnone; extern Lisp_Object Qcursor_color, Qcursor_type, Qns; /* Specifies which emacs modifier should be generated when NS receives @@ -6151,6 +6150,7 @@ syms_of_nsterm () DEFSYM (Qmeta, "meta"); DEFSYM (Qsuper, "super"); DEFSYM (Qcontrol, "control"); + DEFSYM (Qnone, "none"); Fput (Qalt, Qmodifier_value, make_number (alt_modifier)); Fput (Qhyper, Qmodifier_value, make_number (hyper_modifier)); Fput (Qmeta, Qmodifier_value, make_number (meta_modifier));