aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLars Ingebrigtsen2022-03-21 15:53:25 +0100
committerLars Ingebrigtsen2022-03-21 15:53:25 +0100
commitc69a6177422d52cb75f295ddf3ca29cd50337995 (patch)
tree62af6dc0e09181dd40babe037f5e8f567ad5a7c5 /src
parentf15922a57cd6177c9c945d3390a6b9918883415d (diff)
downloademacs-c69a6177422d52cb75f295ddf3ca29cd50337995.tar.gz
emacs-c69a6177422d52cb75f295ddf3ca29cd50337995.zip
Add notes about command modes and nativecomp interaction
* doc/lispref/commands.texi (Command Modes): Note interaction with native-compile (bug#54437). * src/data.c: Add comment about not being supported. Do not merge to master.
Diffstat (limited to 'src')
-rw-r--r--src/data.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/data.c b/src/data.c
index 9bf9d605cf1..57205d88081 100644
--- a/src/data.c
+++ b/src/data.c
@@ -1022,6 +1022,9 @@ Value, if non-nil, is a list (interactive SPEC). */)
1022 return Qnil; 1022 return Qnil;
1023} 1023}
1024 1024
1025/* Note that this doesn't work for native-compiled functions in Emacs
1026 28.1, but it's fixed in later Emacs versions. */
1027
1025DEFUN ("command-modes", Fcommand_modes, Scommand_modes, 1, 1, 0, 1028DEFUN ("command-modes", Fcommand_modes, Scommand_modes, 1, 1, 0,
1026 doc: /* Return the modes COMMAND is defined for. 1029 doc: /* Return the modes COMMAND is defined for.
1027If COMMAND is not a command, the return value is nil. 1030If COMMAND is not a command, the return value is nil.