> So, could you add 'failed, which means that no function was able to > complete? That way I could do something like
> (setq completion-extra-properties '(:exit-function my-exit-function)) > (defun my-exit-function (string finished) > (when (eq finished 'failed) > (dabbrev-expand))) > and always get a dabbrev-expand as fallback to completion-at-point? Hmm... interesting way to attack that problem. I don't think that will work quite like this: if the completion provides its own :exit-function (e.g. to add a terminator string), then yours won't be run. Stefan