From fbc5b8efd2cc3ab1c27b9e7a2e27f4c1a8b2eeda Mon Sep 17 00:00:00 2001 From: yamaoka Date: Mon, 14 May 2001 23:05:32 +0000 Subject: [PATCH] * gnus.el: Require `base64' if `base64-encode-string' is not a built-in function. * dgnushack.el (dgnushack-bind-colon-keywords): Ignore `defgroup'. --- ChangeLog | 9 +++++++++ lisp/dgnushack.el | 5 +++-- lisp/gnus.el | 4 ++++ 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7d6dd5d..b335485 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 2001-05-14 Katsumi Yamaoka + * lisp/gnus.el: Require `base64' if `base64-encode-string' is not a + built-in function. + + * lisp/dgnushack.el (dgnushack-bind-colon-keywords): Ignore + `defgroup'. + +2001-05-14 Katsumi Yamaoka + * lisp/gnus-vers.el (gnus-revision-number): Increment to 01. * lisp/nnmail.el: Don't bind the colon keywords here. @@ -10,6 +18,7 @@ (dgnushack-colon-keywords): New constant which will have the colon keywords shuld be bound at run-time for old Emacsen; cache them in the file dgnuskwds.el and bind them. + (dgnushack-bind-colon-keywords): New function. (locate-library): Make the function to be silent for Mule. * lisp/Makefile.in (clean): Remove dgnuskwds.el. diff --git a/lisp/dgnushack.el b/lisp/dgnushack.el index 676ad2d..b7c55fa 100644 --- a/lisp/dgnushack.el +++ b/lisp/dgnushack.el @@ -295,8 +295,9 @@ to the specified name LIBRARY (a la calling `load' instead of `load-library')." (while form (setq elem (pop form)) (unless (memq (car-safe elem) - '(\` backquote defcustom define-widget - quote widget-convert-button + '(\` backquote defcustom defgroup + define-widget quote + widget-convert-button widget-create widget-put)) (while (consp elem) (push (car elem) form) diff --git a/lisp/gnus.el b/lisp/gnus.el index 72b9a5b..7e2ed03 100644 --- a/lisp/gnus.el +++ b/lisp/gnus.el @@ -2119,6 +2119,10 @@ gnus-newsrc-hashtb should be kept so that both hold the same information.") (autoload 'smiley-toggle-buffer "gnus-bitmap") (autoload 'x-face-mule-gnus-article-display-x-face "x-face-mule")))) +(unless (and (fboundp 'base64-encode-string) + (subrp (symbol-function 'base64-encode-string))) + (require 'base64)) + ;;; gnus-sum.el thingies -- 1.7.10.4