1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-13 03:06:23 -08:00

; Fix typos

This commit is contained in:
Stefan Kangas 2023-12-10 13:22:04 +01:00
parent 1d5028ad04
commit 06a12b0ccc
77 changed files with 148 additions and 148 deletions

View file

@ -36,7 +36,7 @@ import android.view.SubMenu;
import android.util.Log;
/* Context menu implementation. This object is built from JNI and
describes a menu hiearchy. Then, `inflate' can turn it into an
describes a menu hierarchy. Then, `inflate' can turn it into an
Android menu, which can be turned into a popup (or other kind of)
menu. */

View file

@ -60,7 +60,7 @@ public final class EmacsInputConnection implements InputConnection
This helps with on screen keyboard programs found in some vendor
versions of Android, which rely on immediate updates to the point
position after text is commited in order to place the cursor
position after text is committed in order to place the cursor
within that text. */
private static boolean syncAfterCommit;

View file

@ -636,7 +636,7 @@ public final class EmacsOpenActivity extends Activity
{
/* This means Emacs lacks the rights to open this
file. Display the error message and exit. */
displayFailureDialog ("Error openining file",
displayFailureDialog ("Error opening file",
exception.toString ());
return;
}

View file

@ -767,7 +767,7 @@ public final class EmacsSafThread extends HandlerThread
private abstract class SafIntFunction
{
/* The ``throws Throwable'' here is a Java idiosyncracy that tells
/* The ``throws Throwable'' here is a Java idiosyncrasy that tells
the compiler to allow arbitrary error objects to be signaled
from within this function.
@ -782,7 +782,7 @@ public final class EmacsSafThread extends HandlerThread
private abstract class SafObjectFunction
{
/* The ``throws Throwable'' here is a Java idiosyncracy that tells
/* The ``throws Throwable'' here is a Java idiosyncrasy that tells
the compiler to allow arbitrary error objects to be signaled
from within this function.
@ -1216,7 +1216,7 @@ public final class EmacsSafThread extends HandlerThread
});
}
/* The bulk of `statDocument'. SIGNAL should be a cancelation
/* The bulk of `statDocument'. SIGNAL should be a cancellation
signal. */
private long[]

View file

@ -612,7 +612,7 @@ public final class EmacsService extends Service
context.startService (new Intent (context,
EmacsService.class));
else
/* Display the permanant notification and start Emacs as a
/* Display the permanent notification and start Emacs as a
foreground service. */
context.startForegroundService (new Intent (context,
EmacsService.class));
@ -679,7 +679,7 @@ public final class EmacsService extends Service
/* Display a list of programs able to send this URL. */
intent = Intent.createChooser (intent, "Send");
/* Apparently flags need to be set after a choser is
/* Apparently flags need to be set after a chooser is
created. */
intent.addFlags (Intent.FLAG_ACTIVITY_NEW_TASK);
}
@ -927,7 +927,7 @@ public final class EmacsService extends Service
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.N)
/* Since the system predates drag and drop, return this resolver
to avoid any unforseen difficulties. */
to avoid any unforeseen difficulties. */
return resolver;
activity = EmacsActivity.lastFocusedActivity;
@ -947,7 +947,7 @@ public final class EmacsService extends Service
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.N)
/* Since the system predates drag and drop, return this resolver
to avoid any unforseen difficulties. */
to avoid any unforeseen difficulties. */
return this;
activity = EmacsActivity.lastFocusedActivity;

View file

@ -388,7 +388,7 @@ public final class EmacsView extends ViewGroup
&& !rootWindowInsets.isVisible (WindowInsets.Type.ime ())
/* N.B. that the keyboard is dismissed during gesture
navigation under Android 30, but the system is
quite tempermental regarding whether the window is
quite temperamental regarding whether the window is
focused at that point. Ideally
isCurrentlyTextEditor shouldn't be reset in that
case, but detecting that situation appears to be

View file

@ -1399,7 +1399,7 @@ public final class EmacsWindow extends EmacsHandleObject
}
/* Effect the same adjustment upon the view
hiearchy. */
hierarchy. */
EmacsService.SERVICE.runOnUiThread (new Runnable () {
@Override