emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/hyperbole 87dd8ce59f: Add lexical binding (#140)


From: ELPA Syncer
Subject: [elpa] externals/hyperbole 87dd8ce59f: Add lexical binding (#140)
Date: Fri, 31 Dec 2021 02:57:28 -0500 (EST)

branch: externals/hyperbole
commit 87dd8ce59fa5ea154d10682d8c6f550a553c61b8
Author: Mats Lidell <mats.lidell@lidells.se>
Commit: GitHub <noreply@github.com>

    Add lexical binding (#140)
---
 ChangeLog     | 7 +++++++
 hgnus.el      | 2 +-
 hmh.el        | 6 +++---
 hrmail.el     | 2 +-
 hsmail.el     | 2 +-
 hui-em-but.el | 6 +++---
 hui-menu.el   | 2 +-
 7 files changed, 17 insertions(+), 10 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 2c7cb9f9f8..07135e46cc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2021-12-30  Mats Lidell  <matsl@gnu.org>
 
+* hui-menu.el:
+* hui-em-but.el:
+* hsmail.el:
+* hrmail.el:
+* hmh.el:
+* hgnus.el: Use lexical-binding
+
 * test/hyrolo-tests.el (hyrolo-sort-test): Add hyrolo sort test.
 
 2021-12-29  Mats Lidell  <matsl@gnu.org>
diff --git a/hgnus.el b/hgnus.el
index 48efdd26c9..7aad0e06d6 100644
--- a/hgnus.el
+++ b/hgnus.el
@@ -1,4 +1,4 @@
-;;; hgnus.el --- GNU Hyperbole buttons in news reader/poster: GNUS
+;;; hgnus.el --- GNU Hyperbole buttons in news reader/poster: GNUS -*- 
lexical-binding: t; -*-
 ;;
 ;; Author:       Bob Weiner
 ;;
diff --git a/hmh.el b/hmh.el
index bca7905a4a..2a44c72bb1 100644
--- a/hmh.el
+++ b/hmh.el
@@ -1,4 +1,4 @@
-;;; hmh.el --- GNU Hyperbole buttons in mail reader: Mh
+;;; hmh.el --- GNU Hyperbole buttons in mail reader: Mh -*- lexical-binding: 
t; -*-
 ;;
 ;; Author:       Bob Weiner
 ;;
@@ -67,7 +67,7 @@
   "Highlight any Hyperbole buttons in buffer for which display support exists."
   (if (fboundp 'hproperty:but-create) (hproperty:but-create)))
 
-(defun Mh-msg-hdrs-full (toggled)
+(defun Mh-msg-hdrs-full (_toggled)
   "If TOGGLED is non-nil, toggle full/hidden headers, else show full headers.
 For now, a no-op.")
 
@@ -85,7 +85,7 @@ This includes Hyperbole button data."
 
 (defun Mh-msg-prev ()           (mh-previous-undeleted-msg 1))
 
-(defun Mh-msg-to-p (mail-msg-id mail-file)
+(defun Mh-msg-to-p (_mail-msg-id mail-file)
   "Set current buffer to start of msg with MAIL-MSG-ID in MAIL-FILE.
 Returns t if successful, else nil."
   (if (not (file-readable-p mail-file))
diff --git a/hrmail.el b/hrmail.el
index 1ba890bf67..5a6c0045fa 100644
--- a/hrmail.el
+++ b/hrmail.el
@@ -1,4 +1,4 @@
-;;; hrmail.el --- GNU Hyperbole buttons in mail reader: Rmail
+;;; hrmail.el --- GNU Hyperbole buttons in mail reader: Rmail -*- 
lexical-binding: t; -*-
 ;;
 ;; Author:       Bob Weiner
 ;;
diff --git a/hsmail.el b/hsmail.el
index c25c60ea25..eeed0b1b17 100644
--- a/hsmail.el
+++ b/hsmail.el
@@ -1,4 +1,4 @@
-;;; hsmail.el --- GNU Hyperbole buttons in mail composer: mail and mh-letter
+;;; hsmail.el --- GNU Hyperbole buttons in mail composer: mail and mh-letter 
-*- lexical-binding: t; -*-
 ;;
 ;; Author:       Bob Weiner
 ;;
diff --git a/hui-em-but.el b/hui-em-but.el
index e68508ee38..b41c417144 100644
--- a/hui-em-but.el
+++ b/hui-em-but.el
@@ -1,4 +1,4 @@
-;;; hui-em-but.el --- GNU Emacs button highlighting and flashing support
+;;; hui-em-but.el --- GNU Emacs button highlighting and flashing support -*- 
lexical-binding: t; -*-
 ;;
 ;; Author:       Bob Weiner
 ;;
@@ -166,11 +166,11 @@ expression which matches an entire button string.
 If REGEXP-MATCH is non-nil, only buttons matching this argument are
 highlighted."
   (when hproperty:but-highlight-flag
-    (hbut:map (lambda (lbl start end)
+    (hbut:map (lambda (_lbl start end)
                (hproperty:but-add start end hproperty:but-face))
              start-delim end-delim regexp-match 'include-delims)))
 
-(defun hproperty:but-create-on-yank (prop-value start end)
+(defun hproperty:but-create-on-yank (_prop-value start end)
   (save-restriction
     (narrow-to-region start end)
     (hproperty:but-create-all)))
diff --git a/hui-menu.el b/hui-menu.el
index 62740de056..3d3c6cca78 100644
--- a/hui-menu.el
+++ b/hui-menu.el
@@ -1,4 +1,4 @@
-;;; hui-menu.el --- Menubar menu of GNU Hyperbole commands
+;;; hui-menu.el --- Menubar menu of GNU Hyperbole commands -*- 
lexical-binding: t; -*-
 ;;
 ;; Author:       Bob Weiner
 ;;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]