emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mailabbrev.el bug?


From: David Abrahams
Subject: mailabbrev.el bug?
Date: Sat, 08 Feb 2003 22:13:46 -0500
User-agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.2 (i386-msvc-nt5.1.2600)

Unless define-abbrev has changed its signature since 21.2.1, I found a
bug in mailabbrev.el, which I fixed with this patch:

*** mailabbrev.el.~1.71.~       Sun Jan 12 15:48:49 2003
--- mailabbrev.el       Sat Feb  8 21:39:43 2003
***************
*** 315,321 ****
    (setq name (downcase name))
    ;; use an abbrev table instead of an alist for mail-abbrevs.
    (let ((abbrevs-changed abbrevs-changed))  ; protect this from being changed.
!     (define-abbrev mail-abbrevs name definition 'mail-abbrev-expand-hook 0 
t)))
  
  
  (defun mail-resolve-all-aliases ()
--- 315,322 ----
    (setq name (downcase name))
    ;; use an abbrev table instead of an alist for mail-abbrevs.
    (let ((abbrevs-changed abbrevs-changed))  ; protect this from being changed.
!     (define-abbrev mail-abbrevs name definition 'mail-abbrev-expand-hook 0 ;t 
 ;; dwa -- this seems to be an extra argument that isn't recognized by 
define-abbrev
!       )))
  
  
  (defun mail-resolve-all-aliases ()

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com





reply via email to

[Prev in Thread] Current Thread [Next in Thread]