Skip to content

Instantly share code, notes, and snippets.

@nysalor
Created March 21, 2012 23:52
Show Gist options
  • Save nysalor/2154269 to your computer and use it in GitHub Desktop.
Save nysalor/2154269 to your computer and use it in GitHub Desktop.
--- a/src/nsterm.m 2012-03-20 12:48:57.000000000 +0900
+++ b/src/nsterm.m 2012-03-20 13:22:16.000000000 +0900
@@ -4708,9 +4708,7 @@
if (NS_KEYLOG)
NSLog (@"firstRectForCharRange request");
- if (NILP (Feval (Fcons (intern ("ns-in-echo-area"), Qnil))))
- win = XWINDOW (FRAME_SELECTED_WINDOW (emacsframe));
- else if (WINDOWP (echo_area_window))
+ if (WINDOWP (echo_area_window))
win = XWINDOW (echo_area_window);
else
win = XWINDOW (FRAME_SELECTED_WINDOW (emacsframe));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment