summaryrefslogtreecommitdiff
path: root/lisp/mail
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2010-12-13 20:35:33 -0800
committerGlenn Morris <rgm@gnu.org>2010-12-13 20:35:33 -0800
commitaae4b48c36b85f4af4fceaeb9091cf567065649e (patch)
tree7f83925613d47fa2af2edaa45222f43072a088ba /lisp/mail
parentbff7c1adc372497c323aaafc281a26e1e3fc46c2 (diff)
downloademacs-aae4b48c36b85f4af4fceaeb9091cf567065649e.tar.gz
Remove some dired.el autoload cookies on defcustoms.
* lisp/dired.el (dired-trivial-filenames, dired-chown-program) (dired-auto-revert-buffer): Remove autoload cookies. * lisp/mail/sendmail.el (mail-recover-1): Require 'dired.
Diffstat (limited to 'lisp/mail')
-rw-r--r--lisp/mail/sendmail.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index 7a9ab601bcc..fb193544533 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -1817,6 +1817,9 @@ The seventh argument ACTIONS is a list of actions to take
;; names are normally ``trivial'', so Dired will set point after
;; all the files, at buffer bottom. We want it on the first
;; file instead.
+ ;; Require dired so that dired-trivial-filenames does not get
+ ;; unbound on exit from the let.
+ (require 'dired)
(let ((dired-trivial-filenames t))
(dired-other-window wildcard (concat dired-listing-switches "t")))
(rename-buffer "*Auto-saved Drafts*" t)