branch: externals/trie commit 5fa968c9a9760c9002db583a8c5f2bc4df1a7a05 Author: Toby S. Cubitt <toby-predict...@dr-qubit.org> Commit: Toby S. Cubitt <toby-predict...@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