aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2000-12-15 12:32:33 +0000
committerGerd Moellmann2000-12-15 12:32:33 +0000
commit0c28d8421ee7939fad2d8910f2b042b74b1bb001 (patch)
tree6cc77e563815997edef49de6c458d5aff1db50bb
parent8a1a77433361ff03d7c8b51151fc5cbc1ce7a452 (diff)
downloademacs-0c28d8421ee7939fad2d8910f2b042b74b1bb001.tar.gz
emacs-0c28d8421ee7939fad2d8910f2b042b74b1bb001.zip
(mh-find-path): Set read-mail-command.
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/mail/mh-utils.el4
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9d972b1b38f..e500db042be 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
12000-12-15 Gerd Moellmann <gerd@gnu.org>
2
3 * mail/mh-utils.el (mh-find-path): Set read-mail-command.
4
12000-12-15 Richard M. Stallman <rms@caffeine.ai.mit.edu> 52000-12-15 Richard M. Stallman <rms@caffeine.ai.mit.edu>
2 6
3 * dabbrev.el (dabbrev--last-case-pattern): Value is now 7 * dabbrev.el (dabbrev--last-case-pattern): Value is now
diff --git a/lisp/mail/mh-utils.el b/lisp/mail/mh-utils.el
index 5b89c54cf30..30605bb9311 100644
--- a/lisp/mail/mh-utils.el
+++ b/lisp/mail/mh-utils.el
@@ -1,7 +1,7 @@
1;;; mh-utils.el --- mh-e code needed for both sending and reading 1;;; mh-utils.el --- mh-e code needed for both sending and reading
2;; Time-stamp: <95/10/22 17:58:16 gildea> 2;; Time-stamp: <95/10/22 17:58:16 gildea>
3 3
4;; Copyright (C) 1993, 1995, 1997 Free Software Foundation, Inc. 4;; Copyright (C) 1993, 1995, 1997, 2000 Free Software Foundation, Inc.
5 5
6;; This file is part of mh-e, part of GNU Emacs. 6;; This file is part of mh-e, part of GNU Emacs.
7 7
@@ -542,6 +542,7 @@ Non-nil third argument means not to show the message."
542 (buffer-substring start (point))))))) 542 (buffer-substring start (point)))))))
543 543
544(defvar mail-user-agent) 544(defvar mail-user-agent)
545(defvar read-mail-command)
545 546
546(defvar mh-find-path-run nil 547(defvar mh-find-path-run nil
547 "Non-nil if `mh-find-path' has been run already.") 548 "Non-nil if `mh-find-path' has been run already.")
@@ -554,6 +555,7 @@ Non-nil third argument means not to show the message."
554 (mh-find-progs) 555 (mh-find-progs)
555 (unless mh-find-path-run 556 (unless mh-find-path-run
556 (setq mh-find-path-run t) 557 (setq mh-find-path-run t)
558 (setq read-mail-command 'mh-rmail)
557 (setq mail-user-agent 'mh-e-user-agent)) 559 (setq mail-user-agent 'mh-e-user-agent))
558 (save-excursion 560 (save-excursion
559 ;; Be sure profile is fully expanded before switching buffers 561 ;; Be sure profile is fully expanded before switching buffers