aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2015-04-29 02:34:36 -0400
committerStefan Monnier2015-04-29 02:34:36 -0400
commitb7352cb2fa65655dbf97cb7d80ebb1f77dffc039 (patch)
treeeedf9aab8d3ee2d3cebfc11bf2054d54ba1bc8de
parent56d487bdc2425281333802cb884d11a1a5055c76 (diff)
downloademacs-b7352cb2fa65655dbf97cb7d80ebb1f77dffc039.tar.gz
emacs-b7352cb2fa65655dbf97cb7d80ebb1f77dffc039.zip
* lisp/mail/rmailsum.el: Use lexical-binding.
-rw-r--r--lisp/mail/rmailsum.el14
1 files changed, 7 insertions, 7 deletions
diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el
index 280539ea37b..7097fef9ada 100644
--- a/lisp/mail/rmailsum.el
+++ b/lisp/mail/rmailsum.el
@@ -1,4 +1,4 @@
1;;; rmailsum.el --- make summary buffers for the mail reader 1;;; rmailsum.el --- make summary buffers for the mail reader -*- lexical-binding:t -*-
2 2
3;; Copyright (C) 1985, 1993-1996, 2000-2015 Free Software Foundation, Inc. 3;; Copyright (C) 1985, 1993-1996, 2000-2015 Free Software Foundation, Inc.
4 4
@@ -262,7 +262,7 @@ Setting this option to nil might speed up the generation of summaries."
262;; Regenerate the contents of the summary 262;; Regenerate the contents of the summary
263;; using the same selection criterion as last time. 263;; using the same selection criterion as last time.
264;; M-x revert-buffer in a summary buffer calls this function. 264;; M-x revert-buffer in a summary buffer calls this function.
265(defun rmail-update-summary (&rest ignore) 265(defun rmail-update-summary (&rest _)
266 (apply (car rmail-summary-redo) (cdr rmail-summary-redo))) 266 (apply (car rmail-summary-redo) (cdr rmail-summary-redo)))
267 267
268;;;###autoload 268;;;###autoload
@@ -674,7 +674,7 @@ LINES is the number of lines in the message (if we should display that)
674 (goto-char (point-min)) 674 (goto-char (point-min))
675 (let ((line (rmail-header-summary)) 675 (let ((line (rmail-header-summary))
676 (labels (rmail-get-summary-labels)) 676 (labels (rmail-get-summary-labels))
677 pos status prefix basic-start basic-end linecount-string) 677 status prefix basic-start basic-end linecount-string)
678 678
679 (setq linecount-string 679 (setq linecount-string
680 (cond 680 (cond
@@ -746,7 +746,7 @@ the message being processed."
746 ;; Get all the lines of the From field 746 ;; Get all the lines of the From field
747 ;; so that we get a whole comment if there is one, 747 ;; so that we get a whole comment if there is one,
748 ;; so that mail-strip-quoted-names can discard it. 748 ;; so that mail-strip-quoted-names can discard it.
749 (let ((opoint (point))) 749 (progn
750 (while (progn (forward-line 1) 750 (while (progn (forward-line 1)
751 (looking-at "[ \t]"))) 751 (looking-at "[ \t]")))
752 ;; Back up over newline, then trailing spaces or tabs 752 ;; Back up over newline, then trailing spaces or tabs
@@ -928,8 +928,8 @@ A prefix argument serves as a repeat count;
928a negative argument means to delete and move backward." 928a negative argument means to delete and move backward."
929 (interactive "p") 929 (interactive "p")
930 (unless (numberp count) (setq count 1)) 930 (unless (numberp count) (setq count 1))
931 (let (end del-msg 931 (let (del-msg
932 (backward (< count 0))) 932 (backward (< count 0)))
933 (while (and (/= count 0) 933 (while (and (/= count 0)
934 ;; Don't waste time if we are at the beginning 934 ;; Don't waste time if we are at the beginning
935 ;; and trying to go backward. 935 ;; and trying to go backward.
@@ -1048,7 +1048,7 @@ Optional prefix ARG means undelete ARG previous messages."
1048 (forward-line 1)) 1048 (forward-line 1))
1049 (setq n (1- n))) 1049 (setq n (1- n)))
1050 (rmail-summary-goto-msg 1) 1050 (rmail-summary-goto-msg 1)
1051 (dotimes (i rmail-total-messages) 1051 (dotimes (_ rmail-total-messages)
1052 (rmail-summary-goto-msg) 1052 (rmail-summary-goto-msg)
1053 (let (del-msg) 1053 (let (del-msg)
1054 (when (rmail-summary-deleted-p) 1054 (when (rmail-summary-deleted-p)