aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPo Lu2023-02-20 22:15:02 +0800
committerPo Lu2023-02-20 22:15:02 +0800
commitfce2e2f264f62fcb121310f508a167d2cbf604ca (patch)
tree930bcd3d53aca7cb42a75b467a7723ec794bc749
parent57c19f477fddb542fa40747aeb7060fa9756756f (diff)
parent74463909cbb8d297da2d731f5cac15effb857f4e (diff)
downloademacs-fce2e2f264f62fcb121310f508a167d2cbf604ca.tar.gz
emacs-fce2e2f264f62fcb121310f508a167d2cbf604ca.zip
Merge remote-tracking branch 'origin/master' into feature/android
-rw-r--r--lisp/edmacro.el3
-rw-r--r--lisp/emacs-lisp/macroexp.el2
2 files changed, 2 insertions, 3 deletions
diff --git a/lisp/edmacro.el b/lisp/edmacro.el
index c995e2f89d7..8734f7cbebe 100644
--- a/lisp/edmacro.el
+++ b/lisp/edmacro.el
@@ -626,8 +626,7 @@ The string represents the same events; Meta is indicated by bit 7.
626This function assumes that the events can be stored in a string." 626This function assumes that the events can be stored in a string."
627 (setq seq (copy-sequence seq)) 627 (setq seq (copy-sequence seq))
628 (cl-loop for i below (length seq) do 628 (cl-loop for i below (length seq) do
629 (when (/= (logand (aref seq i) 128) 0) 629 (setf (aref seq i) (logand (aref seq i) 127)))
630 (setf (aref seq i) (logand (aref seq i) 127))))
631 seq) 630 seq)
632 631
633;; These are needed in a --without-x build. 632;; These are needed in a --without-x build.
diff --git a/lisp/emacs-lisp/macroexp.el b/lisp/emacs-lisp/macroexp.el
index c909ffb6933..c57a27069d6 100644
--- a/lisp/emacs-lisp/macroexp.el
+++ b/lisp/emacs-lisp/macroexp.el
@@ -496,7 +496,7 @@ Assumes the caller has bound `macroexpand-all-environment'."
496;; Record which arguments expect functions, so we can warn when those 496;; Record which arguments expect functions, so we can warn when those
497;; are accidentally quoted with ' rather than with #' 497;; are accidentally quoted with ' rather than with #'
498(dolist (f '( funcall apply mapcar mapatoms mapconcat mapc cl-mapcar maphash 498(dolist (f '( funcall apply mapcar mapatoms mapconcat mapc cl-mapcar maphash
499 map-char-table map-keymap map-keymap-internal)) 499 mapcan map-char-table map-keymap map-keymap-internal))
500 (put f 'funarg-positions '(1))) 500 (put f 'funarg-positions '(1)))
501(dolist (f '( add-hook remove-hook advice-remove advice--remove-function 501(dolist (f '( add-hook remove-hook advice-remove advice--remove-function
502 defalias fset global-set-key run-after-idle-timeout 502 defalias fset global-set-key run-after-idle-timeout