aboutsummaryrefslogtreecommitdiffstats
path: root/src/bytecode.c
diff options
context:
space:
mode:
authorRudolf Adamkovič2023-10-03 09:07:40 +0200
committerStefan Kangas2024-01-10 14:48:00 +0100
commitcd0eb055fd4ebc3f7f7f5f5617549f963fe8ecff (patch)
tree71915b578d6716d4e078bfc69f611d923b3d4247 /src/bytecode.c
parent3d412395246599bf633efd3ecd7f33c2bb97f66b (diff)
downloademacs-cd0eb055fd4ebc3f7f7f5f5617549f963fe8ecff.tar.gz
emacs-cd0eb055fd4ebc3f7f7f5f5617549f963fe8ecff.zip
Make Compilation mode recognize Lua errors
Emacs comes with built-in support for the Lua programming language in the form of the Lua mode and now also the Lua Tree-sitter mode. This patch further improves Lua support in Emacs by making the Compilation mode recognize Lua errors and stack traces. * lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Add regexps to aid Lua development, namely the 'lua' regexp that matches Lua errors and the 'lua-stack' regexp that matches Lua stack frames. (Bug#60830) * etc/compilation.txt (Lua): Add an example of a Lua error message with a stack trace. * test/lisp/progmodes/compile-tests.el (compile-tests--test-regexps-data): (compile-test-error-regexps): Test the new 'lua' and 'lua-stack' regexps added to the 'compilation-error-regexp-alist-alist'.
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions