]> git.eshelyaron.com Git - emacs.git/commitdiff
Declare `match-beginning` and `match-end` as side-effect-free
authorMattias Engdegård <mattiase@acm.org>
Tue, 3 Aug 2021 13:28:10 +0000 (15:28 +0200)
committerMattias Engdegård <mattiase@acm.org>
Tue, 3 Aug 2021 13:29:58 +0000 (15:29 +0200)
* lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Add functions.

lisp/emacs-lisp/byte-opt.el

index 142f206428e09492150dda292a8df4fbf108db74..2232617e5ea5dc29b11f4a5a20d5569a5f3b5278 100644 (file)
@@ -1362,6 +1362,7 @@ See Info node `(elisp) Integer Basics'."
         local-variable-if-set-p local-variable-p locale-info
         log log10 logand logb logcount logior lognot logxor lsh
         make-byte-code make-list make-string make-symbol mark marker-buffer max
+         match-beginning match-end
         member memq memql min minibuffer-selected-window minibuffer-window
         mod multibyte-char-to-unibyte next-window nth nthcdr number-to-string
         parse-colon-path plist-get plist-member