[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 38ad404: ; Silence recent byte-compiler warning in subr.el
From: |
Basil L. Contovounesios |
Subject: |
master 38ad404: ; Silence recent byte-compiler warning in subr.el |
Date: |
Wed, 5 Aug 2020 06:41:52 -0400 (EDT) |
branch: master
commit 38ad404ba58e83292b3b566a64d8c655aa126cf7
Author: Basil L. Contovounesios <contovob@tcd.ie>
Commit: Basil L. Contovounesios <contovob@tcd.ie>
; Silence recent byte-compiler warning in subr.el
* lisp/subr.el (save-match-data-internal): Declare before first use.
---
lisp/subr.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lisp/subr.el b/lisp/subr.el
index 3c8dbd1..6bd06a0 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -883,6 +883,10 @@ side-effects, and the argument LIST is not modified."
;;;; Keymap support.
+;; Declare before first use of `save-match-data',
+;; where it is used internally.
+(defvar save-match-data-internal)
+
(defun kbd (keys)
"Convert KEYS to the internal Emacs key representation.
KEYS should be a string in the format returned by commands such
@@ -4105,8 +4109,6 @@ MODES is as for `set-default-file-modes'."
;;; Matching and match data.
-(defvar save-match-data-internal)
-
;; We use save-match-data-internal as the local variable because
;; that works ok in practice (people should not use that variable elsewhere).
;; We used to use an uninterned symbol; the compiler handles that properly
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 38ad404: ; Silence recent byte-compiler warning in subr.el,
Basil L. Contovounesios <=