X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/78be8b64657aeca0472d708450ea1ce2bc142606..2b44e4584b8b113a8fbfcca6e8980383a77a9717:/lisp/mail/mailabbrev.el diff --git a/lisp/mail/mailabbrev.el b/lisp/mail/mailabbrev.el index 3308e6416e..980f102409 100644 --- a/lisp/mail/mailabbrev.el +++ b/lisp/mail/mailabbrev.el @@ -1,10 +1,10 @@ ;;; mailabbrev.el --- abbrev-expansion of mail aliases -;; Copyright (C) 1985-1987, 1992-1993, 1996-1997, 2000-2013 Free +;; Copyright (C) 1985-1987, 1992-1993, 1996-1997, 2000-2014 Free ;; Software Foundation, Inc. ;; Author: Jamie Zawinski -;; Maintainer: FSF +;; Maintainer: emacs-devel@gnu.org ;; Created: 19 Oct 90 ;; Keywords: mail @@ -182,7 +182,8 @@ no aliases, which is represented by this being a table with no entries.)") (nth 5 (file-attributes mail-personal-alias-file))) (build-mail-abbrevs))) (mail-abbrevs-sync-aliases) - (add-hook 'abbrev-expand-functions 'mail-abbrev-expand-wrapper nil t) + (add-function :around (local 'abbrev-expand-function) + #'mail-abbrev-expand-wrapper) (abbrev-mode 1)) (defun mail-abbrevs-enable ()