Make MH-E use completion-at-point
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 28 Apr 2011 15:32:28 +0000 (12:32 -0300)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 28 Apr 2011 15:32:28 +0000 (12:32 -0300)
commitd1bb66232235211a8383356ef2851f68ac864a3f
treeca3ca65e7daa640854d7c00ffbe83f691e9b5e9a
parentd178f871644d97853be0f89d05a8fc5649e5d620
Make MH-E use completion-at-point
* lisp/mh-e/mh-letter.el (mh-letter-completion-at-point): New function,
extracted from mh-letter-complete
(mh-letter-mode, mh-letter-complete, mh-letter-complete-or-space): Use it.
(mh-complete-word): Only use the common-substring arg when it works.
(mh-folder-expand-at-point):
* lisp/mh-e/mh-alias.el (mh-alias-letter-expand-alias): Return data suitable
for completion-at-point-functions.
* lisp/mh-e/mh-utils.el (mh-folder-completion-function): Make it work like
file-name completion, so partial-completion can do its job.
* lisp/minibuffer.el (completion-at-point, completion-help-at-point):
Don't presume that a given completion-at-point-function will always
use the same calling convention.
lisp/mh-e/ChangeLog
lisp/mh-e/mh-alias.el
lisp/mh-e/mh-e.el
lisp/mh-e/mh-letter.el
lisp/mh-e/mh-utils.el
lisp/minibuffer.el