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

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

[elpa] externals/trie 5fa968c 093/111: Fix byte-compiler warning.


From: Stefan Monnier
Subject: [elpa] externals/trie 5fa968c 093/111: Fix byte-compiler warning.
Date: Mon, 14 Dec 2020 11:35:27 -0500 (EST)

branch: externals/trie
commit 5fa968c9a9760c9002db583a8c5f2bc4df1a7a05
Author: Toby S. Cubitt <toby-predictive@dr-qubit.org>
Commit: Toby S. Cubitt <toby-predictive@dr-qubit.org>

    Fix byte-compiler warning.
---
 trie.el | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/trie.el b/trie.el
index 52fa741..80baecd 100644
--- a/trie.el
+++ b/trie.el
@@ -181,6 +181,10 @@
 ;;; ================================================================
 ;;;           Internal utility functions and macros
 
+;; symbol used to denote a trie leaf node
+(defconst trie--terminator '--trie--terminator)
+
+
 (defmacro trie--if-lexical-binding (then else)
   "If lexical binding is in effect, evaluate THEN, otherwise ELSE."
   (declare (indent 1) (debug t))
@@ -246,9 +250,6 @@
 ;;; ----------------------------------------------------------------
 ;;;           Functions and macros for handling a trie.
 
-;; symbol used to denote a trie leaf node
-(defconst trie--terminator '--trie--terminator)
-
 (defstruct
   (trie-
    :named
@@ -747,8 +748,7 @@ bind any variables with names commencing \"--\"."
 
 ;; The absurd argument names are to lessen the likelihood of dynamical scoping
 ;; bugs caused by a supplied function binding a variable with the same name as
-;; one of the arguments, which would cause a nasty bug when the lambda's
-;; (below) are called.
+;; one of the arguments, which would cause a nasty bug when they're called.
 ;; FIXME: not needed with lexical binding
 (defun trie--do-delete (node --trie--do-delete--seq
                             --trie--do-delete--test



reply via email to

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