aboutsummaryrefslogtreecommitdiffstats
path: root/src/fns.c
diff options
context:
space:
mode:
authorPo Lu2023-09-16 10:38:46 +0800
committerPo Lu2023-09-16 10:38:46 +0800
commitee4b6a4a2d6b2779cdcf662938b5c81dc2fd2bef (patch)
tree2a76448b0abe5f75afb9dc72fd8ef91916bf9689 /src/fns.c
parentbc25d76650ab6b534b4016c607c36f8b67267dc0 (diff)
downloademacs-ee4b6a4a2d6b2779cdcf662938b5c81dc2fd2bef.tar.gz
emacs-ee4b6a4a2d6b2779cdcf662938b5c81dc2fd2bef.zip
Update Android port
* java/org/gnu/emacs/EmacsContextMenu.java (display): Return false if the list of menu buttons is empty, lest Android cease displaying menus on the assumption that Emacs is defective. * java/org/gnu/emacs/EmacsView.java (popupMenu): Likewise. * src/fns.c (sort_list): Render sentence motion commands functional within commentary * src/sfntfont.c (sfntfont_list_family): Sort and deduplicate the returned family list and make it a list of symbols. (syms_of_sfntfont) <Qstring_lessp>: New defsym.
Diffstat (limited to 'src/fns.c')
-rw-r--r--src/fns.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fns.c b/src/fns.c
index bd1d63a58c4..4731e416125 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -2334,9 +2334,9 @@ See also the function `nreverse', which is used more often. */)
2334 2334
2335 2335
2336/* Stably sort LIST ordered by PREDICATE using the TIMSORT 2336/* Stably sort LIST ordered by PREDICATE using the TIMSORT
2337 algorithm. This converts the list to a vector, sorts the vector, 2337 algorithm. This converts the list to a vector, sorts the vector,
2338 and returns the result converted back to a list. The input list is 2338 and returns the result converted back to a list. The input list
2339 destructively reused to hold the sorted result. */ 2339 is destructively reused to hold the sorted result. */
2340 2340
2341static Lisp_Object 2341static Lisp_Object
2342sort_list (Lisp_Object list, Lisp_Object predicate) 2342sort_list (Lisp_Object list, Lisp_Object predicate)