aboutsummaryrefslogtreecommitdiffstats
path: root/java/debug.sh
diff options
context:
space:
mode:
authorSpencer Baugh2025-05-19 11:35:38 -0400
committerEli Zaretskii2025-05-19 20:02:45 +0300
commitcd364a2119b81f58e0d8f6579809dceb86a8f63c (patch)
tree6501fc8ef26962c414202516fb65220c28426e20 /java/debug.sh
parent0de59ded25aa9f1751edb7170c51a98be70b7edf (diff)
downloademacs-cd364a2119b81f58e0d8f6579809dceb86a8f63c.tar.gz
emacs-cd364a2119b81f58e0d8f6579809dceb86a8f63c.zip
Fix 'completion-ignore-case' with 'completion--file-name-table'
509cbe1c35b3d "Improve env var handling in read-file-name" caused 'try-completion' and 'all-completion' operations with 'completion--file-name-table' to no longer update the case of text which was already present in the input string. That is, completions would be returned ignoring case, but the completions would have letter-casing which matched the input string rather than matching the actual file names. This was caused by unnecessarily replacing text in the returned file name completions with text from the input string ORIG, which in turn was caused by the desire to preserve text from ORIG even after 'substitute-in-file-name' changed it. Fix this by detecting when ORIG was not substantially changed by 'substitute-in-file-name'; in that case, the returned file name completions also don't need substantial changes. * lisp/minibuffer.el (completion--file-name-table): Use text from the completions, not the input string. (Bug#78323) * test/lisp/minibuffer-tests.el (completion-table-test-quoting): Test with 'completion-ignore-case' as well.
Diffstat (limited to 'java/debug.sh')
0 files changed, 0 insertions, 0 deletions