X-Git-Url: http://cgit.sxemacs.org/?p=gnus;a=blobdiff_plain;f=contrib%2Fgnus-namazu.el;h=91db91da7645b09ec509f5659492704cda6d3b5c;hp=cb57c5e57af0ec8a33ea84f18e5d5a53af2d909c;hb=37645a283b23df8169ab52431b0f0baa24a79533;hpb=58f894afa1e24b93368bf087fc27641eb211edb6 diff --git a/contrib/gnus-namazu.el b/contrib/gnus-namazu.el index cb57c5e57..91db91da7 100644 --- a/contrib/gnus-namazu.el +++ b/contrib/gnus-namazu.el @@ -101,6 +101,7 @@ (require 'nnheader) (require 'nnmail) (require 'gnus-sum) +(require 'gmm-utils) ;; To suppress byte-compile warning. (eval-when-compile @@ -780,9 +781,9 @@ than the period that is set to `gnus-namazu-index-update-interval'" (defun gnus-namazu/update-p (directory &optional force) "Return the DIRECTORY when the index undef the DIRECTORY should be updated." (setq directory (file-name-as-directory (expand-file-name directory))) - (labels ((error-message (format &rest args) - (apply (if force 'error 'message) format args) - nil)) + (gmm-labels ((error-message (format &rest args) + (apply (if force 'error 'message) format args) + nil)) (if gnus-namazu/update-process (error-message "%s" "Can not run two update processes simultaneously") (and (or force