]> git.eshelyaron.com Git - emacs.git/commit
Use lexical-binding in asm-mode.el and add tests
authorSimen Heggestøyl <simenheg@gmail.com>
Thu, 18 Jul 2019 18:39:47 +0000 (20:39 +0200)
committerSimen Heggestøyl <simenheg@gmail.com>
Thu, 18 Jul 2019 18:41:47 +0000 (20:41 +0200)
commitb4eaa7eaceeeec749b74e3c5ebbf900d5754b17d
tree5030d5617def01a95f8e05a6645a030f9b2f0bec
parent71ce14a83e424b7524325e85d9fffde732943754
Use lexical-binding in asm-mode.el and add tests

* lisp/progmodes/asm-mode.el: Use lexical-binding.
(asm-comment-char): Remove redundant :group arg.
(asm-mode): Use `setq-local'.
(asm-calculate-indentation): Remove moot `or'.

* test/lisp/progmodes/asm-mode-tests.el: New file with tests for
asm-mode.el.
lisp/progmodes/asm-mode.el
test/lisp/progmodes/asm-mode-tests.el [new file with mode: 0644]