From: morioka Date: Thu, 4 Jun 1998 05:56:23 +0000 (+0000) Subject: (gnus-ems-redefine): Must require 'path-util before call X-Git-Tag: for-semi-1_5-199811302358~16 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=d0e4612fb43c15abaf301d9c412e78da905d31ad;p=elisp%2Fgnus.git- (gnus-ems-redefine): Must require 'path-util before call `module-installed-p'. --- 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