Add lexical-binding to all files and fix warnings

about free variables (declare) and unused lexical vars (prefix with "_").
This commit is contained in:
Thierry Volpiatto
2019-09-16 19:54:59 +02:00
parent 76e6ea256f
commit e4f5576cfc
14 changed files with 50 additions and 28 deletions

View File

@ -1,4 +1,4 @@
;;; mu4e-actions.el -- part of mu4e, the mu mail user agent
;;; mu4e-actions.el -- part of mu4e, the mu mail user agent -*- lexical-binding: t -*-
;;
;; Copyright (C) 2011-2019 Dirk-Jan C. Binnema
@ -36,6 +36,11 @@
(declare-function mu4e~proc-extract "mu4e-proc")
(declare-function mu4e-headers-search "mu4e-headers")
(defvar mu4e-headers-include-related)
(defvar mu4e-headers-show-threads)
(defvar mu4e-view-show-addresses)
(defvar mu4e-view-date-format)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(defun mu4e-action-count-lines (msg)