Clean up Android debug code
* java/org/gnu/emacs/EmacsInputConnection.java (getSurroundingText): Don't print debug information if DEBUG_IC is off.
This commit is contained in:
@@ -587,7 +587,7 @@ public final class EmacsInputConnection implements InputConnection
|
||||
text = EmacsNative.getSurroundingText (windowHandle, beforeLength,
|
||||
afterLength, flags);
|
||||
|
||||
if (text != null)
|
||||
if (EmacsService.DEBUG_IC && text != null)
|
||||
Log.d (TAG, ("getSurroundingText: "
|
||||
+ text.getSelectionStart ()
|
||||
+ ","
|
||||
|
||||
Reference in New Issue
Block a user