+2001-09-17 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * lisp/gnus-diary.el: Don't use `easy-menu-add-item' if it is not
+ available.
+
2001-09-17 Keiichi Suzuki <keiichi@nanap.org>
* lisp/gnus-bbdb.el (gnus-bbdb/insert-address-regexp):
(defvar gnus-summary-misc-menu)
+;; The function `easy-menu-add-item' is not available under Emacs
+;; versions prior to 20.3. Could anyone try to emulate it?
+(if (eval-when-compile
+ (require 'easymenu)
+ (or (fboundp 'easy-menu-add-item)
+ (progn
+ (defalias 'easy-menu-add-item 'ignore)
+ nil)))
(add-hook 'gnus-summary-menu-hook
(lambda ()
(easy-menu-add-item gnus-summary-misc-menu
gnus-newsgroup-name))
'nndiary)]
"Sort by number")))
+ )