emacs-diffs
[Top][All Lists]
Advanced

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

master a7cc19e: Don't erroneously declare `mark` as error-free


From: Mattias Engdegård
Subject: master a7cc19e: Don't erroneously declare `mark` as error-free
Date: Wed, 21 Apr 2021 16:52:41 -0400 (EDT)

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

    Don't erroneously declare `mark` as error-free
    
    * lisp/emacs-lisp/byte-opt.el (side-effect-free-fns)
    (side-effect-and-error-free-fns):
    `mark` is side-effect-free but not error-free.
---
 lisp/emacs-lisp/byte-opt.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/emacs-lisp/byte-opt.el b/lisp/emacs-lisp/byte-opt.el
index e526537..43e9395 100644
--- a/lisp/emacs-lisp/byte-opt.el
+++ b/lisp/emacs-lisp/byte-opt.el
@@ -1324,7 +1324,7 @@ Same format as `byte-optimize--lexvars', with shared 
structure and contents.")
          line-beginning-position line-end-position
         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 marker-buffer max
+        make-byte-code make-list make-string make-symbol mark marker-buffer max
         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
@@ -1374,7 +1374,7 @@ Same format as `byte-optimize--lexvars', with shared 
structure and contents.")
         invocation-directory invocation-name
         keymapp keywordp
         list listp
-        make-marker mark mark-marker markerp max-char
+        make-marker mark-marker markerp max-char
         memory-limit
         mouse-movement-p
         natnump nlistp not null number-or-marker-p numberp



reply via email to

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