From d0e4612fb43c15abaf301d9c412e78da905d31ad Mon Sep 17 00:00:00 2001 From: morioka Date: Thu, 4 Jun 1998 05:56:23 +0000 Subject: [PATCH] (gnus-ems-redefine): Must require 'path-util before call `module-installed-p'. --- lisp/gnus-ems.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lisp/gnus-ems.el b/lisp/gnus-ems.el index 2c002f2..24b240a 100644 --- a/lisp/gnus-ems.el +++ b/lisp/gnus-ems.el @@ -234,9 +234,11 @@ (fset 'gnus-encode-coding-string 'encode-coding-string) (fset 'gnus-decode-coding-string 'decode-coding-string) - (and window-system - (module-installed-p 'bitmap) - (fset 'gnus-group-startup-message 'gnus-mule-group-startup-message)) + (when window-system + (require 'path-util) + (if (module-installed-p 'bitmap) + (fset 'gnus-group-startup-message 'gnus-mule-group-startup-message) + )) (when (boundp 'gnus-check-before-posting) (setq gnus-check-before-posting -- 1.7.10.4