aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2001-01-04 15:39:04 +0000
committerDave Love2001-01-04 15:39:04 +0000
commit5eee36fab2368d8d05ec8a2128bf0baa08e90280 (patch)
tree6e3681dda630a30766d6cdf01d92bd8584d8244f
parent75d2d89f51e493138725f2cf26efdab8c65382b1 (diff)
downloademacs-5eee36fab2368d8d05ec8a2128bf0baa08e90280.tar.gz
emacs-5eee36fab2368d8d05ec8a2128bf0baa08e90280.zip
(nnmail-pathname-coding-system): Defvar when
compiling. (gnus-make-directory): Require nnmail.
-rw-r--r--lisp/gnus/ChangeLog4
-rw-r--r--lisp/gnus/gnus-util.el6
2 files changed, 9 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 5c59189dfc6..3e549714006 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,5 +1,9 @@
12001-01-04 Dave Love <fx@gnu.org> 12001-01-04 Dave Love <fx@gnu.org>
2 2
3 * gnus-util.el (nnmail-pathname-coding-system): Defvar when
4 compiling.
5 (gnus-make-directory): Require nnmail.
6
3 * mm-decode.el (mm-inline-media-tests): Add 7 * mm-decode.el (mm-inline-media-tests): Add
4 image/x-portable-bitmap. 8 image/x-portable-bitmap.
5 (mm-get-image): Grok pbm. 9 (mm-get-image): Grok pbm.
diff --git a/lisp/gnus/gnus-util.el b/lisp/gnus/gnus-util.el
index 4a30d1da0be..061a0610a70 100644
--- a/lisp/gnus/gnus-util.el
+++ b/lisp/gnus/gnus-util.el
@@ -32,7 +32,10 @@
32;;; Code: 32;;; Code:
33 33
34(require 'custom) 34(require 'custom)
35(eval-when-compile (require 'cl)) 35(eval-when-compile
36 (require 'cl)
37 ;; Fixme: this should be a gnus variable, not nnmail-.
38 (defvar nnmail-pathname-coding-system))
36(require 'nnheader) 39(require 'nnheader)
37(require 'time-date) 40(require 'time-date)
38 41
@@ -531,6 +534,7 @@ Bind `print-quoted' and `print-readably' to t while printing."
531 534
532(defun gnus-make-directory (directory) 535(defun gnus-make-directory (directory)
533 "Make DIRECTORY (and all its parents) if it doesn't exist." 536 "Make DIRECTORY (and all its parents) if it doesn't exist."
537 (require 'nnmail)
534 (let ((file-name-coding-system nnmail-pathname-coding-system)) 538 (let ((file-name-coding-system nnmail-pathname-coding-system))
535 (when (and directory 539 (when (and directory
536 (not (file-exists-p directory))) 540 (not (file-exists-p directory)))