[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master f9f0c99: * lisp/mail/sendmail.el: Use lexical-bindi
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] master f9f0c99: * lisp/mail/sendmail.el: Use lexical-binding |
Date: |
Tue, 3 Jul 2018 18:16:58 -0400 (EDT) |
branch: master
commit f9f0c993845cc51517cef6ed06b0cabe102dcd9f
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>
* lisp/mail/sendmail.el: Use lexical-binding
(mail-recover-1): Declare dired-trivial-filenames.
---
lisp/mail/sendmail.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index 29a1ae2..50dd810 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -1,4 +1,4 @@
-;;; sendmail.el --- mail sending commands for Emacs
+;;; sendmail.el --- mail sending commands for Emacs -*- lexical-binding:t -*-
;; Copyright (C) 1985-1986, 1992-1996, 1998, 2000-2018 Free Software
;; Foundation, Inc.
@@ -1144,7 +1144,7 @@ to combine them into one, and does so if the user says y."
;; Try to preserve alignment of contents of the field
(let ((prefix-length (length (match-string 0))))
(replace-match " ")
- (dotimes (i (1- prefix-length))
+ (dotimes (_ (1- prefix-length))
(insert " ")))))))
(set-marker first-to-end nil))))))
@@ -1957,6 +1957,7 @@ The seventh argument ACTIONS is a list of actions to take
;; Require dired so that dired-trivial-filenames does not get
;; unbound on exit from the let.
(require 'dired)
+ (defvar dired-trivial-filenames)
(let ((dired-trivial-filenames t))
(dired-other-window wildcard (concat dired-listing-switches " -t")))
(rename-buffer "*Auto-saved Drafts*" t)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master f9f0c99: * lisp/mail/sendmail.el: Use lexical-binding,
Stefan Monnier <=