aboutsummaryrefslogtreecommitdiffstats
path: root/java/org
diff options
context:
space:
mode:
authorSpencer Baugh2023-11-16 11:34:08 -0500
committerStefan Monnier2023-11-17 12:34:23 -0500
commitd8c1ac6c35f84000aedff67d60cd420360183019 (patch)
tree9d11c35c2295548792cea2ae0e00e7e2a1473e22 /java/org
parentb1b9082b3eab0e83deeee622e61ad3d577646950 (diff)
downloademacs-d8c1ac6c35f84000aedff67d60cd420360183019.tar.gz
emacs-d8c1ac6c35f84000aedff67d60cd420360183019.zip
Return t from completion-emacs22-try-completion only for completions
The emacs22 completion style ignores the text after point when computing completions. However, it still needs to take into account the entire string it's given, to avoid returning incorrect values. Previously, completion-emacs22-try-completion would return t if the text before point was an exact completion. But this is effectively saying that the entire input string was an exact completion, which may not be correct. This would cause completing-read with REQUIRE-MATCH=t to return a non-completion. Now, completion-emacs22-try-completion only returns t if the entire input string is an exact completion. * lisp/minibuffer.el (completion-emacs22-try-completion): Return t only if the entire input string is an exact completion. (Bug#67210)
Diffstat (limited to 'java/org')
0 files changed, 0 insertions, 0 deletions