> (defadvice completion-at-point > (after completion-at-point-complete-if-failed activate) > "Fallback on dabbrev if completion didn't do anything useful." > (unless ad-return-value > (dabbrev-expand nil)))
BTW, you can avoid the advice by using your own (defun al-completion-at-point () (interactive) (or (completion-at-point) (dabbrev-expand nil))) -- Stefan