doc: fix buffer argument for function "command": NULL value means current buffer, not core buffer (bug #38057)
core: replace "behaviour" by "behavior"