aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2000-11-09 14:32:25 +0000
committerDave Love2000-11-09 14:32:25 +0000
commitc6e7b5804ad9967c0b5a5c1ddf626091c1eac7a5 (patch)
tree2cfef2b2c24827d29ef181be72ce5e09b447c9c4
parentdef5ff3657fa5860d8ac6f4c616b38a0b5785a8e (diff)
downloademacs-c6e7b5804ad9967c0b5a5c1ddf626091c1eac7a5.tar.gz
emacs-c6e7b5804ad9967c0b5a5c1ddf626091c1eac7a5.zip
(gnus-group-make-directory-group)
(gnus-group-fetch-faq): Use expand-file-name. (gnus-group-fetch-faq): Simplify completing-read form.
-rw-r--r--lisp/gnus/ChangeLog7
-rw-r--r--lisp/gnus/gnus-group.el8
2 files changed, 10 insertions, 5 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 55342810a79..c53be3a0352 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,5 +1,12 @@
12000-11-09 Dave Love <fx@gnu.org> 12000-11-09 Dave Love <fx@gnu.org>
2 2
3 * gnus-group.el (gnus-group-make-directory-group)
4 (gnus-group-fetch-faq): Use expand-file-name.
5 (gnus-group-fetch-faq): Simplify completing-read form.
6
7 * mm-bodies.el (mm-encode-body): Use mm-multibyte-p, don't just
8 test for Mule.
9
3 * message.el (tool-bar-map): Defvar when compiling. 10 * message.el (tool-bar-map): Defvar when compiling.
4 11
5 * gnus-setup.el (running-xemacs, gnus-use-installed-tm) 12 * gnus-setup.el (running-xemacs, gnus-use-installed-tm)
diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el
index ab752dcb0cc..2a50e83287a 100644
--- a/lisp/gnus/gnus-group.el
+++ b/lisp/gnus/gnus-group.el
@@ -3,7 +3,6 @@
3;; Free Software Foundation, Inc. 3;; Free Software Foundation, Inc.
4 4
5;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org> 5;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
6;; Maintainer: bugs@gnus.org
7;; Keywords: news 6;; Keywords: news
8 7
9;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
@@ -2344,8 +2343,7 @@ mail messages or news articles in files that have numeric names."
2344 (while (or (not group) (gnus-gethash group gnus-newsrc-hashtb)) 2343 (while (or (not group) (gnus-gethash group gnus-newsrc-hashtb))
2345 (setq group 2344 (setq group
2346 (gnus-group-prefixed-name 2345 (gnus-group-prefixed-name
2347 (concat (file-name-as-directory (directory-file-name dir)) 2346 (expand-file-name ext dir)
2348 ext)
2349 '(nndir ""))) 2347 '(nndir "")))
2350 (setq ext (format "<%d>" (setq i (1+ i))))) 2348 (setq ext (format "<%d>" (setq i (1+ i)))))
2351 (gnus-group-make-group 2349 (gnus-group-make-group
@@ -3281,7 +3279,7 @@ to use."
3281 (when current-prefix-arg 3279 (when current-prefix-arg
3282 (completing-read 3280 (completing-read
3283 "Faq dir: " (and (listp gnus-group-faq-directory) 3281 "Faq dir: " (and (listp gnus-group-faq-directory)
3284 (mapcar (lambda (file) (list file)) 3282 (mapcar #'list
3285 gnus-group-faq-directory)))))) 3283 gnus-group-faq-directory))))))
3286 (unless group 3284 (unless group
3287 (error "No group name given")) 3285 (error "No group name given"))
@@ -3292,7 +3290,7 @@ to use."
3292 (while (and (not found) 3290 (while (and (not found)
3293 (setq dir (pop dirs))) 3291 (setq dir (pop dirs)))
3294 (let ((name (gnus-group-real-name group))) 3292 (let ((name (gnus-group-real-name group)))
3295 (setq file (concat (file-name-as-directory dir) name))) 3293 (setq file (expand-file-name name dir)))
3296 (if (not (file-exists-p file)) 3294 (if (not (file-exists-p file))
3297 (gnus-message 1 "No such file: %s" file) 3295 (gnus-message 1 "No such file: %s" file)
3298 (let ((enable-local-variables nil)) 3296 (let ((enable-local-variables nil))