branch: elpa/vm
commit faecdbca5ad8685b15760ccb1d6c9a63ace1d692
Author: Mark Diekhans <[email protected]>
Commit: Mark Diekhans <[email protected]>

    remove unnecessary check for native compile that uses a outdated variable
---
 lisp/vm-biff.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/vm-biff.el b/lisp/vm-biff.el
index f4398b4f588..0fd1101291c 100644
--- a/lisp/vm-biff.el
+++ b/lisp/vm-biff.el
@@ -517,7 +517,7 @@ AddToFunc SelectWindow
                               'vm-biff-timer-delete-popup wf))))))))
 
 ; add hook only when explictly requring this module
-(when (not (or (bound-and-true-p byte-compile-current-file) (bound-and-true-p 
comp-compile-warning-errors)))
+(unless (bound-and-true-p byte-compile-current-file)
   (add-hook 'vm-arrived-messages-hook 'vm-biff-popup t))
 
 (provide 'vm-biff)

Reply via email to