aboutsummaryrefslogtreecommitdiffstats
path: root/java/debug.sh
diff options
context:
space:
mode:
authorJim Porter2023-02-09 23:27:50 -0800
committerJim Porter2023-03-08 13:36:09 -0800
commit38427494d5b86d803f941b77134886ba5eec20dd (patch)
tree59546a5d528882ce41087c7cc60249aa0cc8dd23 /java/debug.sh
parent2e73dec15f2555128c370ba48a077f1a178b2731 (diff)
downloademacs-38427494d5b86d803f941b77134886ba5eec20dd.tar.gz
emacs-38427494d5b86d803f941b77134886ba5eec20dd.zip
Fix Pcompletion of "tar" when using unrecognized arguments
Previously, arguments to tar like "--warning=no-timestamp" would cause Pcompletion to hang (bug#58921). This simplifies the logic flow by moving all the cases for "--" arguments inside the THEN form of '(if (pcomplete-match "^--" 0)', and for all "-" arguments inside the ELSE form. * lisp/pcmpl-gnu.el (pcmpl-gnu--tar-long-options): New variable. (pcomplete/tar): Properly handle completion of arguments that look like "--ARG=", even if they're not recognized by this function.
Diffstat (limited to 'java/debug.sh')
0 files changed, 0 insertions, 0 deletions