projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4eefada
)
* lisp/emacs-lisp/macroexp.el (mapcan): Set funarg-positions.
author
Mattias Engdegård
<mattiase@acm.org>
Mon, 20 Feb 2023 11:58:48 +0000
(12:58 +0100)
committer
Mattias Engdegård
<mattiase@acm.org>
Mon, 20 Feb 2023 12:17:22 +0000
(13:17 +0100)
lisp/emacs-lisp/macroexp.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/macroexp.el
b/lisp/emacs-lisp/macroexp.el
index c909ffb6933c2e784cde803fd3f4a6c594f25340..c57a27069d6f6764ed44b8ce4efcf8b1db456a8c 100644
(file)
--- a/
lisp/emacs-lisp/macroexp.el
+++ b/
lisp/emacs-lisp/macroexp.el
@@
-496,7
+496,7
@@
Assumes the caller has bound `macroexpand-all-environment'."
;; Record which arguments expect functions, so we can warn when those
;; are accidentally quoted with ' rather than with #'
(dolist (f '( funcall apply mapcar mapatoms mapconcat mapc cl-mapcar maphash
- map-char-table map-keymap map-keymap-internal))
+ map
can map
-char-table map-keymap map-keymap-internal))
(put f 'funarg-positions '(1)))
(dolist (f '( add-hook remove-hook advice-remove advice--remove-function
defalias fset global-set-key run-after-idle-timeout