(seq-contains-pred): Split off list-specialized impl into separate method
* lisp/emacs-lisp/seq.el (seq-contains-pred): Split off
list-specialized impl into separate method. The result is a bit
slower (about 10%?), but better structured.
94849ba...
by
=?utf-8?b?Sm/Do28gVMOhdm9yYQ==?= <email address hidden>
seq.el: experimental seq.el speedups
* lisp/emacs-lisp/seq.el (seq-contains-p): Rework.
(seq-uniq): Rework
(seq-difference-2): New function
(seq-difference-3): New function
679311c...
by
=?utf-8?b?Sm/Do28gVMOhdm9yYQ==?= <email address hidden>
Cl-lib: optimize and reword docstrins of cl-some and cl-every
* lisp/emacs-lisp/cl-seq.el (cl--with-member-test): New helper
macro.
(cl-set-difference): Use it. Reword docstring.
(cl-nset-difference): Use it. Reword docstring.
232f399...
by
=?utf-8?b?Sm/Do28gVMOhdm9yYQ==?= <email address hidden>
Cl-lib: rework docstring of some functions in cl-seq.el
fff9b6e...
by
=?utf-8?b?Sm/Do28gVMOhdm9yYQ==?= <email address hidden>
Fix test failures in test/lisp/minibuffer-tests.el
bug#48841, bug#47711
In some instances the test code needed to be updated to make different
assumptions about implementation details.
In others, like the ones about the completions-first-difference face,
minor parts of the actual user-visible behaviour were broken.
* test/lisp/minibuffer-tests.el (completion-test1): Robustify test.
(completion--pcm-score): Don't assume completion-score is stored
in string as a property.
* lisp/minibuffer.el (completion--hilit-from-re): Take new parameter.
(completion-pcm--hilit-commonality): Use it.
* doc/lispref/commands.texi (Touchscreen Events): Relate new
THRESHOLD argument to touch-screen-track-tap.
* lisp/button.el (push-button):
* lisp/wid-edit.el (widget-button--check-and-call-button):
Provide a threshold to enable canceling button presses.
* lisp/touch-screen.el (touch-screen-track-tap): Enable
canceling tap gestures and resuming touch sequence translation
if the touch point exceeds a set threshold.
Improve documentation of read syntax and printed representation
* doc/lispref/objects.texi (Syntax for Strings): Describe in more
detail how to specify special characters in string literals.
(Printed Representation, Character Type, Nonprinting Characters):
Improve information and add cross-references about printed
representation and read syntax. (Bug#67033)