diff options
| author | Po Lu | 2023-09-16 10:38:46 +0800 |
|---|---|---|
| committer | Po Lu | 2023-09-16 10:38:46 +0800 |
| commit | ee4b6a4a2d6b2779cdcf662938b5c81dc2fd2bef (patch) | |
| tree | 2a76448b0abe5f75afb9dc72fd8ef91916bf9689 /src/fns.c | |
| parent | bc25d76650ab6b534b4016c607c36f8b67267dc0 (diff) | |
| download | emacs-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -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 | ||
| 2341 | static Lisp_Object | 2341 | static Lisp_Object |
| 2342 | sort_list (Lisp_Object list, Lisp_Object predicate) | 2342 | sort_list (Lisp_Object list, Lisp_Object predicate) |