← Back to team overview

vm team mailing list archive

Re: compilation warnings

 

I have just uploaded fixes for the make-local-hook warnings into my
compiler-fixes branch. These were pretty straight-forward. XEmacs still
requires make-local-hook. Both emacs and xemacs also require the forth
argument to add-hook to be t to make it local. All relevant add-hook calls
already had this except one in vm-folder.el i.e.

(add-hook 'after-save-hook 'vm-unblock-new-mail)

which I've changed to 

(add-hook 'after-save-hook 'vm-unblock-new-mail nil t)

which I think is the correct behavior given the purpose described in the code
comments. I suspect that for quite a while, it has been local for xemacs, but
global for GNU emacs. 

Tim

-- 
Tim Cross
tcross@xxxxxxxxxxxxxxx

There are two types of people in IT - those who do not manage what
they understand and those who do not understand what they manage.
-- 
Tim Cross
tcross@xxxxxxxxxxxxxxx

There are two types of people in IT - those who do not manage what they 
understand and those who do not understand what they manage.



Follow ups

References