From aae4b48c36b85f4af4fceaeb9091cf567065649e Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Mon, 13 Dec 2010 20:35:33 -0800 Subject: 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. --- lisp/mail/sendmail.el | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lisp/mail') 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) -- cgit v1.2.1