summaryrefslogtreecommitdiff
path: root/lisp/mh-e/mh-alias.el
diff options
context:
space:
mode:
authorBill Wohler <wohler@newt.com>2011-07-03 15:27:19 -0700
committerBill Wohler <wohler@newt.com>2011-07-03 15:27:19 -0700
commit9c1c3a42e359243bfa182fe582cbe838a74b90d9 (patch)
tree4560702097060e764760b74b04520f9b8770ab53 /lisp/mh-e/mh-alias.el
parent0a9f5305f194209798485909eb021d9b94ecf1cc (diff)
downloademacs-9c1c3a42e359243bfa182fe582cbe838a74b90d9.tar.gz
* mh-compat.el (mh-test-completion): Add compatibility function for
systems without test-completion. * mh-alias.el (mh-alias-letter-expand-alias): Use it
Diffstat (limited to 'lisp/mh-e/mh-alias.el')
-rw-r--r--lisp/mh-e/mh-alias.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/mh-e/mh-alias.el b/lisp/mh-e/mh-alias.el
index 2df6025bf09..d1b3ccebf46 100644
--- a/lisp/mh-e/mh-alias.el
+++ b/lisp/mh-e/mh-alias.el
@@ -316,8 +316,7 @@ Blind aliases or users from /etc/passwd are not expanded."
res)
res)))
((t) (all-completions string mh-alias-alist pred))
- ((lambda) (if (fboundp 'test-completion)
- (test-completion string mh-alias-alist pred))))))))))
+ ((lambda) (mh-test-completion string mh-alias-alist pred)))))))))
;;; Alias File Updating