summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
Commit message (Collapse)AuthorAgeFilesLines
...
| * global-eldoc-mode doc fixLars Ingebrigtsen2016-05-011-2/+10
| | | | | | | | | | | | | | * lisp/emacs-lisp/eldoc.el (global-eldoc-mode): Be more specific about what "applicable" means (bug#23071). (cherry picked from commit 25e95b5dd8cd92e03788e589bf99a4b399f03114)
| * Further define-obsolete-* doc fixupsLars Ingebrigtsen2016-05-011-2/+2
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/byte-run.el (define-obsolete-face-alias): Fix up last change. (define-obsolete-variable-alias): Ditto. (cherry picked from commit 28e9f4390d8391c2c36be4ef515cf3a2c679a5a5)
| * Describe WHEN in all the define-obsolete- macrosLars Ingebrigtsen2016-05-011-2/+8
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/byte-run.el (define-obsolete-face-alias): Say more verbosely what WHEN is (bug#21225). (define-obsolete-function-alias): Describe the WHEN parameter. (define-obsolete-variable-alias): Ditto. (cherry picked from commit 247c388f160581d207e41ca5926990bbf69d4a0f)
| * add-timeout doc fixLars Ingebrigtsen2016-05-011-0/+2
| | | | | | | | | | | | | | * lisp/emacs-lisp/timer.el (add-timeout): Mention the return value (bug#20181). (cherry picked from commit 921b40476f597c84d7c34aa289cd43caeb389c4a)
| * Explictly explain that package-initialize loads the packagesLars Ingebrigtsen2016-05-011-1/+4
| | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/package.el (package-initialize): Be explicit in saying that `package-initialize' obviates adjusting the path or requiring the packages, as this is a question that apparently comes up now and then (bug#18829). (cherry picked from commit 619e0aedb2f3dbfe6821ac34e2d25b4e5c181117)
| * Doc fix for insert-pair-alistLars Ingebrigtsen2016-05-011-1/+5
| | | | | | | | | | | | | | * lisp/emacs-lisp/lisp.el (insert-pair-alist): Say what COMMAND-CHAR is (bug#18809). (cherry picked from commit 2824c587e9749a8f350f1d3dddd65176b4561dcb)
| * Wrap the auto-generated doc stringLars Ingebrigtsen2016-05-011-1/+2
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Wrap a string to make it less likely that we get overlong lines (bug#17999). (cherry picked from commit 323b69664914d687fd4b48593479cea223dfbcb4)
| * Clarify some doc stringsLars Ingebrigtsen2016-05-011-3/+4
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/syntax.el (syntax-propertize-via-font-lock): Clarify doc string (bug#8693). (syntax-propertize): Clarify doc string. (cherry picked from commit ad3ef417f3c40f086de9c547d6272e5685595e42)
* | Merge from origin/emacs-25Paul Eggert2016-05-012-1/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 16e5e8e Fix last change to isearch-update (bug#23406) b755d98 Autoload cursor-sensor-inhibit (bug#23406) b52ebd4 org-map-entries: Fix org-agenda-prepare-buffers call 86aa409 Followup for last commit in the user manual 7004459 Improve doc string of 'set-goal-column' ccdaf04 Fix the MSDOS build ffe701c Remove \= from format string (bug#18190) 1c58fa1 Fix variable-pitch font on MS-Windows c6077bf Restore follow-scroll-up/down to scrolling by the combined si... b671e21 Revert unneeded change which harms syntactic parsing. This f... 48b24c9 Correct indentation of ids in a C++ enum after a protection k... 5c3534f * lisp/window.el (window--process-window-list): No-op if no p... 734fb3a Port dumping to NetBSD with PaX 0255a70 Don't mistake `for' inside a function for a part of array com... # Conflicts: # src/Makefile.in
| * Autoload cursor-sensor-inhibit (bug#23406)Leo Liu2016-04-301-0/+1
| | | | | | | | | | * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor-inhibit): Autoload. * lisp/isearch.el (isearch-update): Remove boundp check.
| * Remove \= from format string (bug#18190)Andreas Schwab2016-04-301-1/+1
| | | | | | | | | | * lisp/emacs-lisp/eieio.el (defclass): Remove \= from format string.
| * * lisp/emacs-lisp/autoload.el (update-directory-autoloads):Glenn Morris2016-04-251-9/+11
| | | | | | | | | | | | Future-proof against non-time-values. ; Do not merge to master.
* | Allow finding libraries loaded manually outside the load-pathLars Ingebrigtsen2016-05-011-6/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/find-func.el (find-library--from-load-path): New function to find a library from a load path (bug#5661). (find-library-name): Use it. There are so many combinations of inputs and possibly entries in `load-history' that the code looks like an entry in a code obfuscation contest. If anybody has a better implementation, please substitute. But remember that the input given may be foo, foo.el, foo.elc, and the entries in load-history may be foo.el, foo.elc and foo.el.gz, and we want to return only foo.el and foo.el.gz. *phew*
* | global-eldoc-mode doc fixLars Ingebrigtsen2016-05-011-2/+10
| | | | | | | | | | * lisp/emacs-lisp/eldoc.el (global-eldoc-mode): Be more specific about what "applicable" means (bug#23071).
* | Further define-obsolete-* doc fixupsLars Ingebrigtsen2016-04-301-2/+2
| | | | | | | | | | | | * lisp/emacs-lisp/byte-run.el (define-obsolete-face-alias): Fix up last change. (define-obsolete-variable-alias): Ditto.
* | Describe WHEN in all the define-obsolete- macrosLars Ingebrigtsen2016-04-301-2/+8
| | | | | | | | | | | | | | * lisp/emacs-lisp/byte-run.el (define-obsolete-face-alias): Say more verbosely what WHEN is (bug#21225). (define-obsolete-function-alias): Describe the WHEN parameter. (define-obsolete-variable-alias): Ditto.
* | add-timeout doc fixLars Ingebrigtsen2016-04-301-0/+2
| | | | | | | | | | * lisp/emacs-lisp/timer.el (add-timeout): Mention the return value (bug#20181).
* | Explictly explain that package-initialize loads the packagesLars Ingebrigtsen2016-04-301-1/+4
| | | | | | | | | | | | | | * lisp/emacs-lisp/package.el (package-initialize): Be explicit in saying that `package-initialize' obviates adjusting the path or requiring the packages, as this is a question that apparently comes up now and then (bug#18829).
* | Doc fix for insert-pair-alistLars Ingebrigtsen2016-04-301-1/+5
| | | | | | | | | | * lisp/emacs-lisp/lisp.el (insert-pair-alist): Say what COMMAND-CHAR is (bug#18809).
* | Wrap the auto-generated doc stringLars Ingebrigtsen2016-04-291-1/+2
| | | | | | | | | | | | * lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Wrap a string to make it less likely that we get overlong lines (bug#17999).
* | Cancel the eldoc timer when switching off eldoc modeLars Ingebrigtsen2016-04-291-1/+4
| | | | | | | | | | | | * lisp/emacs-lisp/eldoc.el (eldoc-mode): Cancel the eldoc timer when switching off eldoc mode. It will be restarted again if needed (bug#17582).
* | Clarify some doc stringsLars Ingebrigtsen2016-04-281-3/+4
| | | | | | | | | | | | * lisp/emacs-lisp/syntax.el (syntax-propertize-via-font-lock): Clarify doc string (bug#8693). (syntax-propertize): Clarify doc string.
* | Don't consider colons to be paragraphs starting chars in stringsLars Ingebrigtsen2016-04-281-2/+9
| | | | | | | | | | | | * lisp/emacs-lisp/lisp-mode.el (lisp-fill-paragraph): Don't consider colons to start paragraphs in (doc) strings (bug#7751).
* | Allow a prefix argument to find-library to pop to a different windowLars Ingebrigtsen2016-04-271-10/+15
| | | | | | | | | | * lisp/emacs-lisp/find-func.el (find-library): Allow a prefix argument to pop to a different window (bug#2270).
* | ; Run find-function-after-hook after finding a symbolTino Calancha2016-04-251-1/+5
| | | | | | | | | | | | | | * lisp/emacs-lisp/find-func.el (find-library): * lisp/help-mode.el (help-function-def, help-variable-def): Run `find-function-after-hook' inside the help-function of the buttons (bug#22583).
* | Merge from origin/emacs-25Paul Eggert2016-04-241-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | 78f9af7 ; ChangeLog fixes 162e549 * admin/authors.el (authors-ignored-files): Additions. 2b31a0c In x_set_window_size restore do_pending_window_change calls 401857e Fix Alt-modified keys on some European MS-Windows keyboards a77cf24 Document 'help-go-forward' 1ba947f Revert "Allow to customize names of executables used by grep.el" 570e0fa Revert "Don't use 'find-program'" 645f4ef Revert "Use 'grep-find-program' in check-declare.el" aa03257 Clarify documentation of 'dired-mark-files-containing-regexp' ce0d8c7 Make tmm-menubar work in correct order again b8d5a8f Remove the Meta-CVS VC backend
| * Revert "Use 'grep-find-program' in check-declare.el"Eli Zaretskii2016-04-211-1/+1
| | | | | | | | This reverts commit 33bef6e90bfd20609d044b8a076c1570c627684a.
* | When autoload-timestamps is nil, use a dummy timestamp rather than "t".Glenn Morris2016-04-231-10/+20
| | | | | | | | | | | | * lisp/emacs-lisp/autoload.el (autoload--non-timestamp): New constant. (autoload-generate-file-autoloads, autoload-find-destination) (update-directory-autoloads): Use autoload--non-timestamp.
* | Prevent bootstrap autoload backup filesPhillip Lord2016-04-201-14/+28
| | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/autoload (autoload-find-generated-file): Suppress backups in newly created file. (autoload-ensure-default-file): Function split into two. (autoload-ensure-file-writeable): New function from split. (Bug#23203)
* | Merge from origin/emacs-25Paul Eggert2016-04-181-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | ac00a92 Make sh-electric-here-document-mode accessible in sh-mode-hoo... 3287f48 ; Add entry to MAINTAINERS b85981f * configure.ac (HAVE_MODULES): Exclude gnu-kfreebsd from prev... 0f33284 Make use of rectangle-preview custom variable. aa0d83a Make use of rectangle-preview face. 33bef6e Use 'grep-find-program' in check-declare.el a8560e5 Improve "C-h S" for cl-lib symbols 52e798b Fix minor issues with removing left or right fringes d6ffd64 Speed up redisplay in ansi-term mode 4ab671c Simplify 8-bit character handling by terminal for 'raw-text' f3653ec * configure.ac (HAVE_MODULES): Treat gnu like gnu-linux. (Bu... ab849b7 Fix w32 memory-management problem when extending buffer text
| * Use 'grep-find-program' in check-declare.elEli Zaretskii2016-04-161-1/+1
| | | | | | | | | | * lisp/emacs-lisp/check-declare.el (check-declare-directory): Use 'grep-find-program', not 'find-program'.
* | Merge from origin/emacs-25Paul Eggert2016-04-181-28/+14
|\| | | | | | | | | | | | | | | 32364bb substitute-command-keys keeps quotes’ text props 567ab52 * src/xwidget.c (x_draw_xwidget_glyph_string): More clipping ... 24b87a1 Add semantic-symref-filepattern-alist entry for lisp-interact... cc0b713 Perform xref searches without visiting unopened files 5045575 Revert "Prevent bootstrap autoload backup files"
| * Revert "Prevent bootstrap autoload backup files"Phillip Lord2016-04-121-28/+14
| | | | | | | | This reverts commit c23c965bb9d0a4bcc1b6158833ff99aa20fd53e9.
* | * lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Fix docstringPhilipp Stephani2016-04-181-3/+4
| | | | | | | | | | so that it matches the actual implementation. See https://lists.gnu.org/archive/html/help-gnu-emacs/2016-04/msg00071.html
* | Merge from origin/emacs-25Paul Eggert2016-04-121-14/+28
|\| | | | | | | | | | | | | | | ca50981 Improve time zone documentation c23c965 Prevent bootstrap autoload backup files 9344612 Disable multicolor fonts on OS X since they are not supported... c41ce1c Capitalize “Universal Time” in documentation 10597c9 Don't use 'find-program'
| * Prevent bootstrap autoload backup filesPhillip Lord2016-04-121-14/+28
| | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/autoload (autoload-find-generated-file): Suppress backups in newly created file. (autoload-ensure-default-file): Function split into two. (autoload-ensure-file-writeable): New function from split. (Bug#23203)
* | Merge from origin/emacs-25Paul Eggert2016-04-112-3/+4
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b134c20 Sync with gnulib bb30fa9 Fix last change on 2016-01-02 488a72f ; Spelling fixes 9b1aab9 Port run-prolog EMACS to SWI-Prolog 7.2.3 0e7bcec Avoid crashes due to unreasonably large or small text scaling 85f257c Improve documentation of 'with-eval-after-load' 668c7bc Improve handling of non-ASCII characters in Git log messages b570769 Remove undefined behavior in OS X dumper. 97211f3 Fix clipping of xwidgets e87fbc0 Improve Lisp-level documentation of tooltips 9f1786e Faces names should not end in "-face". 3283271 * src/xsmfns.c (syms_of_xsmfns): Remove stray "s in doc strings. a1f221b Comint and compile no longer set EMACS 5c28890 * lisp/subr.el (read-key): Don't let the prompt linger (bug#2... a75b9a6 Merge branch 'emacs-25' of git.savannah.gnu.org:/srv/git/emac... c93ae7a Allow to customize names of executables used by grep.el f6497c6 Set locale encoding to UTF-8 when run from OS X GUI. 7ad1d07 Avoid signaling errors in 'M-n' at the 'C-x C-f' prompt a3f1ac2 Avoid infinite loop in 'studlify-word' f36df4b Don’t recommend obsolete EMACS env var fb0b531 * lisp/emacs-lisp/package.el: Change from a few days ago need...
| * Fix last change on 2016-01-02Leo Liu2016-04-111-3/+3
| | | | | | | | | | | | * lisp/emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2): Move `cl-errs-re' before `lisp--el-match-keyword'; don't use `prepend' which highlights `cl-errs-re' even in comments or strings.
| * * lisp/emacs-lisp/package.el: Change from a few days ago needs seq.Glenn Morris2016-04-071-0/+1
| | | | | | | | ; Warning 'foo' is not known to be defined is always a bug.
| * * lisp/emacs-lisp/seq.el: Load cl-lib, not cl-extra.Glenn Morris2016-04-071-1/+1
| | | | | | | | ; The various components of cl-lib are an internal implementation detail.
* | Merge from origin/emacs-25Paul Eggert2016-04-111-11/+15
|\| | | | | | | | | | | | | | | 80128a7 Fix stability confusion in sort-tests 1e4aa42 Avoid describe-key error with lambdas a05fb21 * lisp/emacs-lisp/package.el (package-install-selected-packag... f501116 Sync with gnulib c4963f9 Fix doc for Universal Time
| * * lisp/emacs-lisp/package.el (package-install-selected-packages):Artur Malabarba2016-04-041-11/+15
| | | | | | | | Skip unavailable packages.
* | New primitives sxhash-eq, sxhash-eqlPaul Pogonyshev2016-04-081-2/+3
| | | | | | | | | | | | | | | | * doc/lispref/hash.texi (Defining Hash), etc/NEWS: Document this. * lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Add sxhash-equal, sxhash-eq, sxhash-eql. * lisp/subr.el (sxhash): Now an alias for sxhash-equal. * src/fns.c (Fsxhash_eq, Fsxhash_eql): New functions.n
* | Spelling fixesPaul Eggert2016-04-031-1/+1
| |
* | Merge from origin/emacs-25Paul Eggert2016-04-031-3/+7
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b787d55 More format-time-string change fixups 13c8f29 make-xwidget unused arg cleanup 36e05f0 Remove unused arguments from make-xwidget 1042217 Document incompatible changes in 'format-time-string' 7228eb8 Improve documentation of byte-code objects 0020047 Adapt calls to 'format-time-string' to changes in Emacs 25 17b5152 Improve vc-diff with Git backend c28f87a (js--continued-expression-p): Special-case unary plus and minus 2d02a5f ; * lisp/vc/vc-annotate.el (vc-annotate): Clarify commentary. 9151f16 Prevent C++ Mode wrongly fontifying some identifiers near tem... b3b523c Avoid crashes due to insanely large columns in tabulated-list... a3daa34 Teach M-x disassemble a default argument. e30c3e9 Fix EOL decoding in vc-annotate with SVN back-end on MS-Windows df441b3 Fix OS X specific settings in tramp-tests 2244331 Finish fixing a cacheing bug in CC Mode (see 2016-03-09) # Conflicts: # lisp/net/tramp-sh.el # lisp/progmodes/cc-engine.el
| * Teach M-x disassemble a default argument.Mark Oteiza2016-03-311-3/+7
| | | | | | | | | | | | Adopts default argument in the same way as `describe-function'. * lisp/emacs-lisp/disass.el (disassemble): Default to function at point, if any.
* | Merge from origin/emacs-25John Wiegley2016-04-021-26/+10
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e65c307 * src/font.c (QCuser_spec): Add missing colon to :user-spec. c8b868b Don't start the 'midnight' timer twice 278c8a7 * src/xwidget.c (Fxwidget_resize): Fix inappropriate use of X... e5c17f4 Fix todo-mode category movement bc70fda * lisp/xt-mouse.el (xterm-mouse-utf-8): Add :version. cf40f38 Ignore non-nil. non-cons values of unread-command-events 8ee4c52 Improve documentatuon of 'truncate-partial-width-windows' fb9a62c * src/ftfont.c (ftfont_shape_by_flt): Parenthesize as per GNU... 1e1ea22 Fix 'dired-goto-file' in Dired buffers produced by find-dired 3a13472 Fix map-put and map-delete for alists (Bug#23105) 422c3da Minor copyedits of documentation for temporary displays 90fb9b3 Add customization option for using UTF-8 coordinates in xt-mouse f14d463 Minor doc string fixes in replace.el e70ee9d Fix scrolling upwards with 'xwidget-webkit-browse-url' 44782de Fix display of Indic scripts 326c64f Fix splash screen display at startup 7ab2a97 ; In NEWS mention new display of minibuffer completions window a1cd84c Describe temporary displays in Emacs manual 5ec1056 Avoid stray As next to IDLW icons 45577d5 Avoid GTK 3 crash with icons and masks e99ff6e * lisp/minibuffer.el (minibuffer-completion-help): Use fit-wi... 077b78c Define make_save_ptr_ptr unconditionally 20a1003 Preserve current buffer when popping up TTY menus 7eba90c Improve font selection by family on MS-Windows 73d213f Comint, term, and compile now set EMACS 9524ec5 Ignore more merges when generating ChangeLog ad250f2 Sync with gnulib c0165ea Resurrect GNUS-NEWS autogeneration 1e5327c ; Backport ChangeLog.2 fixes from master e643977 Make `toggle-frame-maximized' respect the dock on OS X (bug#2... 38a43f1 Fix bug in displaying header line with a box face 91e6676 Fix an Isearch var to be a string (Bug#23038) 76ef522 Fix (args-out-of-range 1) error in cursor-sensor--detect 8a35f83 Render empty <ul><li><ul> correctly d8b2ce5 Ignore invalid base64 encoded embedded images 52ba24b Fix <p> and <div> newlines with or without <li> in shr b8ea08b Avoid errors in 'newline' fc3cd53 Fix Bug#23032 dd2737b Adjudicate review comments in abbrevs.texi 26f9c50 Fixup the "normal" matcher; highlight global var symbols, too 413e73b ; Small theme additions cd950da Honor prefix arg in doc-view-next-line-or-next-page ed909c0 ; Spelling fixes 6da3a6d Port to strict C99 offsetof de7601f Port to GTK with strict C11 compiler 658aa2d Port to GTK with strict C99 compiler 1df7173 Avoid screen artifacts with new OS X visible bell after scrol... 7a2edd3 Merge branch 'emacs-25' of git.sv.gnu.org:/srv/git/emacs into... dca240a Suppress some Tramp tests for OSX, do not merge with master 9094304 * lisp/progmodes/xref.el (xref-buffer-name, xref--window): Mo... cbedfc2 * lisp/gnus/mm-decode.el (gnus-format-message): Autoload it. 005ac7c * lisp/mail/rmail.el (rmail-mime-entity-truncated): Declare. 9ab03f2 ; Auto-commit of loaddefs files. 56df617 Address compilation warnings due to 2016-01-03 mml refactoring. a1ef911 * lisp/emacs-lisp/smie.el (smie-indent-keyword): Don't burp i... 79ae7fb * lisp/dired-x.el (dired-omit-here-always): Correct error mes... 253929f * lisp/dired-x.el (dired-omit-here-always): Replace undefined... ce53389 * lisp/xml.el (xml-parse-tag-1): Replace undefined function. d6d164f Avoid segfaults due to frame image cache being absent bc7f6f6 Improve documentation of glyphless-character display 6b6916e ; * src/xdisp.c (with_echo_area_buffer): Fix typos in comments. ee9a1f7 Support safe navigation operator in non-SMIE indentation code c3ed95b Move xsd:base64Binary decoding fix to debbugs.el 0.9.1 2036be4 Fix Ruby's operator precedence 1d686c2 (ruby-interpolation-inside-another-interpolation): New failin... 7950e1d Port to clang 3.7.0 on x86-64 218ae59 * test/automated/package-test.el (package-test-signed): Tweak... ba33b7c Sync with gnulib 38b276d Fix startup of "emacs -nw" on systems that CANNOT_DUMP dbfbedd Do not tokenize a comment before continuation as ';' 0403620 Don't misindent arguments of a method call inside continuation e6776f8 * src/keyboard.c (echo_keystrokes_p): Don't test cursor_in_ec... 8475f3d ASCII-only etc/NEWS etc. 5cc6919 Fix a cacheing bug, which led to inordinately slow c-beginnin... 0ce37ea Fix Isearch prompt when invoked with an argument f3033d4 Fix a typo in the Emacs manual 4235d2d Curved quotes in etc/NEWS etc. 26b56dc Fix some single quotes in documentation 80ec484 Make lisp-completion-at-point's argument optional 9d463ae Tweak the left precedence of '=>' 5b705bc Indent '.' relative to the first sibling expression 04f5525 Make '.' associative, for easier sexp navigation ba24c99 Revert "Simplify "Visit New File" to "New File""
| * Fix map-put and map-delete for alists (Bug#23105)Nicolas Petton2016-03-251-26/+10
| | | | | | | | | | | | * lisp/emacs-lisp/map.el (map-put): Do not bind the evaluated place expression to a new symbol. * test/lisp/emacs-lisp/map-tests.el: Add a regression test.
* | * lisp/emacs-lisp/seq.el: Require cl-lib instead of cl-extraNicolas Petton2016-03-291-1/+1
| |
* | New function seq-sort-by in seq.elNicolas Petton2016-03-291-1/+11
| | | | | | | | | | | | * lisp/emacs-lisp/seq.el (seq-sort-by): New function. * test/lisp/emacs-lisp/seq-tests.el: New test for seq-sort-by. * doc/lispref/sequences.texi: Add documentation for seq-sort-by.