emacs-diffs
[Top][All Lists]
Advanced

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

master 674fee5: Remove dynamic declaration of 'save-match-data-internal'


From: Mattias Engdegård
Subject: master 674fee5: Remove dynamic declaration of 'save-match-data-internal'
Date: Thu, 15 Oct 2020 05:48:22 -0400 (EDT)

branch: master
commit 674fee5e9fb70d83d9408ebc01d8c15bd641663c
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    Remove dynamic declaration of 'save-match-data-internal'
    
    * lisp/subr.el: Remove defvar which has no relevance today; it can
    very well be a lexical variable.
---
 lisp/subr.el | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/lisp/subr.el b/lisp/subr.el
index 867c9f0..b7a746f 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -886,10 +886,6 @@ 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



reply via email to

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