branch: elpa/lua-mode commit 881c412dbcbb7e70b169073b68ea351d44adccd6 Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
No longer quote a lambda Emacs v30's byte-compiler started to warn: lib/lua-mode/lua-mode.el:333:10: Warning: (lambda (sym) ...) quoted with ' rather than with #' There is no need to quote at all. --- lua-mode.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lua-mode.el b/lua-mode.el index 6ab4d438e6..de7e66aa48 100644 --- a/lua-mode.el +++ b/lua-mode.el @@ -330,8 +330,9 @@ Should be a list of strings." :type 'string :group 'lua :set 'lua--customize-set-prefix-key - :get '(lambda (sym) - (let ((val (eval sym))) (if val (single-key-description (eval sym)) "")))) + :get (lambda (sym) + (let ((val (eval sym))) + (if val (single-key-description (eval sym)) "")))) (defvar lua-mode-menu (make-sparse-keymap "Lua") "Keymap for lua-mode's menu.")