Daniel Mendler writes: > Juri Linkov writes: > >>> Thanks for finding this. The problem was that `initial-input' was passed >>> directly to `completion-metadata'. I replaced `initial-input' with `(or >>> initial-input "")'. See the updated patch attached to this mail. >> >> It seems this change caused another regression: 'ffap' on a file name >> fails with the error: > > Oh, I see. The INITIAL-INPUT argument can be a cons pair too. See the > patch attached to this mail which fixes the problem. I've attached an ever better patch to this mail, where the minibuffer content is simply used directly instead of handling the different INITIAL-INPUT cases. This is simpler and more future proof. Daniel