summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdrian Robert <Adrian.B.Robert@gmail.com>2009-09-22 19:49:06 +0000
committerAdrian Robert <Adrian.B.Robert@gmail.com>2009-09-22 19:49:06 +0000
commit4eb34cc713a8144c0edaea04496a0a05acee01de (patch)
treef73f38b10a11d6a28fea01ff480821438dc6f0fc /src
parent8dd110b4c35f64c6fa50b7910f5f18ed0dacc3d3 (diff)
downloademacs-4eb34cc713a8144c0edaea04496a0a05acee01de.tar.gz
* nsterm.m (CGContextSetFontRenderingMode): Drop declaration.
Diffstat (limited to 'src')
-rw-r--r--src/nsterm.m15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/nsterm.m b/src/nsterm.m
index 71040a756ad..8576ed1b484 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -198,16 +198,6 @@ int ns_tmp_flags; /* FIXME */
struct nsfont_info *ns_tmp_font; /* FIXME */
/*static int debug_lock = 0; */
-#ifdef NS_IMPL_COCOA
-/* This undocumented Quartz function controls how fonts are anti-aliased.
- (Found from code in Mac wxWindows impl, discovered by running `nm' on
- the "QD" framework.)
- Mode 0 is normal anti-aliasing, mode 1 is no anti-aliasing, and mode 2 is
- 4-bit pixel-aligned anti-aliasing (the old QuickDraw standard). */
-extern void CGContextSetFontRenderingMode (CGContextRef cg, int v);
-#endif
-
-
/* event loop */
static BOOL send_appdefined = YES;
static NSEvent *last_appdefined_event = 0;
@@ -358,7 +348,7 @@ ns_init_paths ()
}
if ([resourcePaths length] > 0)
setenv ("EMACSLOADPATH", [resourcePaths UTF8String], 1);
-/*NSLog (@"loadPath: '%s'\n", resourcePaths); */
+/*NSLog (@"loadPath: '%@'\n", resourcePaths); */
}
if (!getenv ("EMACSPATH"))
@@ -859,6 +849,7 @@ ns_reset_terminal_modes (struct terminal *terminal)
NSTRACE (ns_reset_terminal_modes);
}
+
static void
ns_set_terminal_modes (struct terminal *terminal)
/* Externally called as hook */
@@ -3133,7 +3124,7 @@ ns_read_socket (struct terminal *terminal, int expected,
If we're being called outside of that, it's also OK to return quickly
after one iteration through the event loop, since other terms do
this and emacs expects it. */
- if (!(inNsSelect && expected)) // (!inNsSelect || !expected)
+ if (!(inNsSelect && expected))
{
/* Post an application defined event on the event queue. When this is
received the [NXApp run] will return, thus having processed all